Changeset 91 in dev for BasicCompiler_Common/Class.h


Ignore:
Timestamp:
Apr 7, 2007, 10:07:26 PM (17 years ago)
Author:
dai_9181
Message:

ログ機構(Smoothie::Logger)を導入。
動的型情報生成において、未使用クラスの登録は行わないようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.h

    r90 r91  
    5959
    6060    //静的メンバ情報
    61     std::vector<CMember *>staticMembers;
     61    std::vector<CMember *> staticMembers;
    6262
    6363    //メソッド情報
     
    7979    ClassType classType;
    8080
     81    bool isUsing;
     82
    8183public:
    8284    //クラス名
     
    100102    CClass(const char *name);
    101103    ~CClass();
     104
     105    bool IsUsing() const;
     106    void Using();
    102107
    103108    bool IsClass() const;
     
    133138    void EnumMethod( const char *methodName, std::vector<UserProc *> &subs ) const;
    134139    void EnumMethod( const BYTE idOperatorCalc, std::vector<UserProc *> &subs ) const;
     140    const std::vector<CMethod *> &GetMethods() const
     141    {
     142        return methods;
     143    }
     144    const std::vector<CMethod *> &GetStaticMethods() const
     145    {
     146        return staticMethods;
     147    }
    135148
    136149    //デフォルト コンストラクタ メソッドを取得
Note: See TracChangeset for help on using the changeset viewer.