[warning-fix][initialization-order]
This commit is contained in:
1 parent
e64899c311
commit
b6bebbb01f
4 files changed
+17
-18
No files matched your search
@@ -41,13 +41,12 @@ STEPfile::STEPfile( Registry & r, InstMgr & i, const char * filename )
|
|||||||
: _reg( &r ), _instances( &i ),
|
: _reg( &r ), _instances( &i ),
|
||||||
#else
|
#else
|
||||||
:
|
:
|
||||||
_reg( r ), _instances( i ),
|
_instances( i ), _reg( r ),
|
||||||
#endif
|
#endif
|
||||||
_headerId( 0 ), _maxErrorCount( 5000 ),
|
_fileIdIncr( 0 ), _headerId( 0 ),
|
||||||
_fileName( 0 ), _entsNotCreated( 0 ), _entsInvalid( 0 ),
|
_fileName( 0 ), _entsNotCreated( 0 ), _entsInvalid( 0 ),
|
||||||
_entsIncomplete( 0 ), _entsWarning( 0 ),
|
_entsIncomplete( 0 ), _entsWarning( 0 ),
|
||||||
_errorCount( 0 ), _warningCount( 0 ),
|
_errorCount( 0 ), _warningCount( 0 ), _maxErrorCount( 5000 )
|
||||||
_fileIdIncr( 0 )
|
|
||||||
|
|
||||||
{
|
{
|
||||||
SetFileType( VERSION_CURRENT );
|
SetFileType( VERSION_CURRENT );
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const TypeDescriptor * t_sdaiLOGICAL;
|
|||||||
static int uniqueNames( const char *, const SchRename * );
|
static int uniqueNames( const char *, const SchRename * );
|
||||||
|
|
||||||
Registry::Registry( CF_init initFunct )
|
Registry::Registry( CF_init initFunct )
|
||||||
: entity_cnt( 0 ), all_ents_cnt( 0 ), col( 0 ) {
|
: col( 0 ), entity_cnt( 0 ), all_ents_cnt( 0 ) {
|
||||||
// if(NilSTEPentity == 0)
|
// if(NilSTEPentity == 0)
|
||||||
// NilSTEPentity = new SCLP23(Application_instance);
|
// NilSTEPentity = new SCLP23(Application_instance);
|
||||||
|
|
||||||
|
|||||||
@@ -20,29 +20,29 @@
|
|||||||
// references to inline functions
|
// references to inline functions
|
||||||
|
|
||||||
STEPattribute::STEPattribute( const STEPattribute & a )
|
STEPattribute::STEPattribute( const STEPattribute & a )
|
||||||
: aDesc( a.aDesc ), _derive( 0 ), _redefAttr( 0 ) {}
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( a.aDesc ) {}
|
||||||
|
|
||||||
// INTEGER
|
// INTEGER
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Integer ) *p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Integer ) *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.i = p;
|
ptr.i = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// BINARY
|
// BINARY
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Binary ) *p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Binary ) *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.b = p;
|
ptr.b = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STRING
|
// STRING
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( String ) *p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( String ) *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.S = p;
|
ptr.S = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// REAL & NUMBER
|
// REAL & NUMBER
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Real ) *p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Real ) *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.r = p;
|
ptr.r = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,32 +54,32 @@ STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Real ) *p
|
|||||||
// ENTITY
|
// ENTITY
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d,
|
STEPattribute::STEPattribute( const class AttrDescriptor & d,
|
||||||
SCLP23( Application_instance )* *p )
|
SCLP23( Application_instance )* *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.c = p;
|
ptr.c = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// AGGREGATE
|
// AGGREGATE
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, STEPaggregate * p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, STEPaggregate * p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.a = p;
|
ptr.a = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ENUMERATION and Logical
|
// ENUMERATION and Logical
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Enum ) *p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLP23( Enum ) *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.e = p;
|
ptr.e = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// SELECT
|
// SELECT
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d,
|
STEPattribute::STEPattribute( const class AttrDescriptor & d,
|
||||||
class SCLP23( Select ) *p )
|
class SCLP23( Select ) *p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.sh = p;
|
ptr.sh = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// UNDEFINED
|
// UNDEFINED
|
||||||
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLundefined * p )
|
STEPattribute::STEPattribute( const class AttrDescriptor & d, SCLundefined * p )
|
||||||
: aDesc( &d ), _derive( 0 ), _redefAttr( 0 ) {
|
: _derive( 0 ), _redefAttr( 0 ), aDesc( &d ) {
|
||||||
ptr.u = p;
|
ptr.u = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ class EntList {
|
|||||||
friend ostream & operator<< ( ostream &, MultList & );
|
friend ostream & operator<< ( ostream &, MultList & );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EntList( JoinType j ) : join(j), prev(0), next(0), viable(UNKNOWN),
|
EntList( JoinType j ) : join(j), next(0), prev(0), viable(UNKNOWN),
|
||||||
level(0) {}
|
level(0) {}
|
||||||
virtual ~EntList() {}
|
virtual ~EntList() {}
|
||||||
MatchType viableVal() { return viable; }
|
MatchType viableVal() { return viable; }
|
||||||
@@ -168,7 +168,7 @@ class SimpleList : public EntList {
|
|||||||
friend ostream & operator<< ( ostream &, SimpleList & );
|
friend ostream & operator<< ( ostream &, SimpleList & );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SimpleList( const char *n ) : I_marked(NOMARK), EntList(SIMPLE)
|
SimpleList( const char *n ) : EntList(SIMPLE), I_marked(NOMARK)
|
||||||
{ strcpy( name, n ); }
|
{ strcpy( name, n ); }
|
||||||
~SimpleList() {}
|
~SimpleList() {}
|
||||||
int operator== ( const char *nm )
|
int operator== ( const char *nm )
|
||||||
@@ -292,7 +292,7 @@ class ComplexList {
|
|||||||
friend ostream & operator<< ( ostream &, ComplexList & );
|
friend ostream & operator<< ( ostream &, ComplexList & );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ComplexList( AndList *alist = NULL ) : head(alist), list(0), next(0),
|
ComplexList( AndList *alist = NULL ) : list(0), head(alist), next(0),
|
||||||
abstract(0), dependent(0),
|
abstract(0), dependent(0),
|
||||||
multSupers(0) {}
|
multSupers(0) {}
|
||||||
ComplexList( Entity, ComplexCollect * );
|
ComplexList( Entity, ComplexCollect * );
|
||||||
|
|||||||
Reference in new issue
Block a user