Changeset 103 in dev for BasicCompiler_Common/Enum.h


Ignore:
Timestamp:
May 2, 2007, 4:08:58 AM (17 years ago)
Author:
dai_9181
Message:

名前空間機能をグローバル変数、定数と列挙型に適用。
一部、クラスの静的メンバと名前空間の相性が悪いコードが潜んでいるため、要改修

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Enum.h

    r88 r103  
    1010
    1111class CEnumParent{
    12     char *TypeName;
     12    NamespaceScopes namespaceScopes;
     13    string name;
     14
    1315    BOOL bConst;
    1416
     
    1719public:
    1820
    19     CEnumParent(const char *buffer,int nowLine);
     21    CEnumParent( const NamespaceScopes &namespaceScopes, const char *buffer,int nowLine);
    2022    ~CEnumParent();
    2123
     24    const NamespaceScopes &GetNamespaceScopes() const
     25    {
     26        return namespaceScopes;
     27    }
     28    const string &GetName() const
     29    {
     30        return name;
     31    }
    2232
    2333public:
Note: See TracChangeset for help on using the changeset viewer.