Changeset 637 in dev for trunk/ab5.0/abdev/ab_common/include/Lexical/TypeDef.h
- Timestamp:
- Jun 11, 2008, 10:10:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/include/Lexical/TypeDef.h
r632 r637 3 3 class TypeDefCollection; 4 4 5 class TypeDef : public Symbol 5 class TypeDef 6 : public RelationalObjectModuleItem 6 7 { 7 8 friend TypeDefCollection; … … 17 18 trace_for_serialize( "serializing - TypeDef" ); 18 19 19 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( Symbol ); 20 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( RelationalObjectModuleItem ); 21 22 if( ActiveBasic::Common::Environment::IsRemoveExternal() ) 23 { 24 if( this->IsExternal() ) 25 { 26 this->NeedResolve(); 27 return; 28 } 29 } 30 20 31 ar & BOOST_SERIALIZATION_NVP( baseName ); 21 32 ar & BOOST_SERIALIZATION_NVP( baseType ); … … 23 34 24 35 public: 25 TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, const Type &baseType );36 TypeDef( const Symbol &symbol, const std::string &baseName, const Type &baseType ); 26 37 TypeDef() 27 38 { … … 39 50 return baseType; 40 51 } 52 53 virtual bool Resolve(); 41 54 }; 42 55 … … 58 71 ~TypeDefCollection(); 59 72 60 void Add( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, int nowLine );73 void Add( const Symbol &symbol, const std::string &baseName, int nowLine ); 61 74 const TypeDef *Find( const Symbol &symbol ) const; 62 75 };
Note:
See TracChangeset
for help on using the changeset viewer.