Changeset 353 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Oct 21, 2007, 3:37:31 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Class.h
r350 r353 77 77 mutable LONG_PTR vtblOffset; 78 78 79 // XMLシリアライズ用 80 private: 81 friend class boost::serialization::access; 82 template<class Archive> void serialize(Archive& ar, const unsigned int version) 83 { 84 trace_for_serialize( "serializing - Interface" ); 85 86 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP( DynamicMethodsPrototype ); 87 ar & boost::serialization::make_nvp("pInterfaceClass", const_cast<CClass *&>(pInterfaceClass) ); 88 ar & BOOST_SERIALIZATION_NVP( vtblOffset ); 89 } 90 79 91 public: 80 92 Interface( const CClass *pInterfaceClass ); … … 83 95 , pInterfaceClass( objInterface.pInterfaceClass ) 84 96 , vtblOffset( objInterface.vtblOffset ) 97 { 98 } 99 Interface() 85 100 { 86 101 } … … 151 166 152 167 // XMLシリアライズ用 153 // TODO: xml未完成154 168 private: 155 169 friend class boost::serialization::access; … … 165 179 ar & BOOST_SERIALIZATION_NVP( superClassActualTypeParameters ); 166 180 ar & BOOST_SERIALIZATION_NVP( blittableType ); 167 //ar & BOOST_SERIALIZATION_NVP( interfaces );181 ar & BOOST_SERIALIZATION_NVP( interfaces ); 168 182 ar & BOOST_SERIALIZATION_NVP( dynamicMembers ); 169 183 ar & BOOST_SERIALIZATION_NVP( staticMembers ); -
trunk/abdev/BasicCompiler_Common/include/Method.h
r352 r353 1 1 #pragma once 2 3 #include <string>4 #include <vector>5 6 #include <option.h>7 #include <Program.h>8 #include <Class.h>9 #include <Procedure.h>10 11 #include <windows.h>12 2 13 3 using namespace std; -
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 ); -
trunk/abdev/BasicCompiler_Common/include/option.h
r350 r353 14 14 #define USE_TRACE 15 15 #else 16 //#define USE_TRACE16 #define USE_TRACE 17 17 #endif 18 18 … … 28 28 29 29 // ソースコードステップに関するログを生成する 30 //#define USE_TRACE_FOR_SOURCECODESTEP30 #define USE_TRACE_FOR_SOURCECODESTEP 31 31 #endif 32 32 -
trunk/abdev/BasicCompiler_Common/include/ver.h
r350 r353 6 6 // バージョン付加文字列 7 7 #ifdef _AMD64_ 8 #define VER_INFO "(x64) (rev.35 6)"8 #define VER_INFO "(x64) (rev.357)" 9 9 #else 10 #define VER_INFO "(rev.35 6)"10 #define VER_INFO "(rev.357)" 11 11 #endif
Note:
See TracChangeset
for help on using the changeset viewer.