Changeset 90 in dev for BasicCompiler_Common/Class.h


Ignore:
Timestamp:
Apr 7, 2007, 3:02:29 PM (17 years ago)
Author:
dai_9181
Message:

実行時型情報の生成にほぼ対応した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.h

    r89 r90  
    7171    enum ClassType{
    7272        Class,
     73        Interface,
     74        Enum,
     75        Delegate,
    7376        Structure,
    74         Interface,
    7577    };
    7678
     
    99101    ~CClass();
    100102
     103    bool IsClass() const;
     104    bool IsInterface() const;
     105    bool IsEnum() const;
     106    bool IsDelegate() const;
    101107    bool IsStructure() const;
    102108
    103109    //継承させる
    104     void Inherits( CClass *pInheritsClass );
     110    bool Inherits( CClass &inheritsClass, int nowLine );
     111    bool InheritsInterface( CClass &inheritsClass, int nowLine );
    105112
    106113    //メンバ、メソッドの追加
Note: See TracChangeset for help on using the changeset viewer.