Changeset 353 in dev for trunk/abdev/BasicCompiler_Common/include/Procedure.h
- Timestamp:
- Oct 21, 2007, 3:37:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Procedure.h
r351 r353 13 13 14 14 class CClass; 15 class Interface; 15 16 class CMethod; 16 17 … … 122 123 // 親クラスと対応するメソッド 123 124 const CClass *pParentClass; 125 const Interface *pInterface; 124 126 CMethod *pMethod; 125 127 … … 160 162 ar & BOOST_SERIALIZATION_NVP( importedNamespaces ); 161 163 ar & boost::serialization::make_nvp("pParentClass", const_cast<CClass *&>(pParentClass) ); 164 ar & boost::serialization::make_nvp("pInterface", const_cast<Interface *&>(pInterface) ); 162 165 ar & BOOST_SERIALIZATION_NVP( pMethod ); 163 166 ar & BOOST_SERIALIZATION_NVP( isMacro ); … … 182 185 , importedNamespaces( importedNamespaces ) 183 186 , pParentClass( NULL ) 187 , pInterface( NULL ) 184 188 , pMethod( NULL ) 185 189 , isMacro( isMacro ) … … 211 215 { 212 216 if( this->GetParentClassPtr() == pUserProc->GetParentClassPtr() // 親クラスが等しい 217 && this->pInterface == pUserProc->pInterface // インターフェイスが等しい 213 218 && pUserProc->IsEqualSymbol( *this ) // 名前空間及び名前が等しい 214 219 && this->Params().Equals( pUserProc->Params() ) // パラメータが等しい … … 358 363 return ( pParentClass == NULL ); 359 364 } 365 void SetInterface( const Interface *pInterface ) 366 { 367 this->pInterface = pInterface; 368 } 360 369 void SetMethod( CMethod *pMethod ){ 361 370 this->pMethod = pMethod; … … 417 426 bool Insert( UserProc *pUserProc, int nowLine ); 418 427 419 UserProc *Add ( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, char *buffer,int nowLine,bool isVirtual,CClass *pobj_c, bool isStatic);428 UserProc *AddUserProc( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, char *buffer,int nowLine,bool isVirtual,CClass *pobj_c, bool isStatic, char *interfaceName = NULL ); 420 429 421 430 void EnumGlobalProcs( const char *simpleName, const char *localName, std::vector<const UserProc *> &subs );
Note: See TracChangeset
for help on using the changeset viewer.