Changeset 180 in dev for trunk/jenga/include


Ignore:
Timestamp:
Jun 21, 2007, 3:26:21 AM (17 years ago)
Author:
dai_9181
Message:

Meta::GetClassesメソッドを追加

Location:
trunk/jenga/include/smoothie
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/jenga/include/smoothie/Class.h

    r173 r180  
    315315    BOOL MemberVar_LoopRefCheck(const CClass &objClass);
    316316public:
    317     void GetAllClassInfo(void);
    318     void Compile_System_InitializeUserTypes();
     317
     318    // 実体収集
     319    virtual void CollectClassesForNameOnly( const BasicSource &source ) = 0;
     320    virtual void GetAllClassInfo() = 0;
     321    virtual void Compile_System_InitializeUserTypes() = 0;
     322    virtual void InitStaticMember() = 0;
    319323
    320324
  • trunk/jenga/include/smoothie/Member.h

    r171 r180  
    7575    {
    7676    }
    77     static void InitStaticMember(void);
    7877};
    7978typedef std::vector<CMember *> Members;
  • trunk/jenga/include/smoothie/ObjectModule.h

    r172 r180  
    88// プロジェクト中に存在するメタ情報
    99class Meta{
     10    Classes *pClasses;
    1011public:
     12
     13    Meta( Classes *pNewClasses )
     14        : pClasses( pNewClasses )
     15    {
     16    }
     17    ~Meta()
     18    {
     19        delete pClasses;
     20    }
     21
    1122    // 名前空間
    1223    NamespaceScopesCollection namespaceScopesCollection;
    1324
    1425    // クラス
    15     Classes classes;
     26    Classes &GetClasses()
     27    {
     28        return *pClasses;
     29    }
    1630
    1731    // TypeDef
Note: See TracChangeset for help on using the changeset viewer.