Changeset 137 in dev for BasicCompiler_Common/Class.h


Ignore:
Timestamp:
Jun 8, 2007, 3:11:47 AM (17 years ago)
Author:
dai_9181
Message:

アクセシビリティ周りをリファクタリングした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.h

    r135 r137  
    88#include <Member.h>
    99#include "Procedure.h"
    10 
    11 #define ACCESS_NON          0
    12 #define ACCESS_PRIVATE      1
    13 #define ACCESS_PUBLIC       2
    14 #define ACCESS_PROTECTED    3
    1510
    1611class CDBClass;
     
    8883    int iAlign;
    8984
    90 
    91 public:
    9285    CClass( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const string &name );
    9386    ~CClass();
     
    130123
    131124    //メンバ、メソッドの追加
    132     void AddMember( DWORD dwAccess, bool idConst, bool isRef, char *buffer );
    133     void AddStaticMember( DWORD dwAccess, bool isConst, bool isRef, char *buffer, int nowLine );
     125    void AddMember( Prototype::Accessibility accessibility, bool idConst, bool isRef, char *buffer );
     126    void AddStaticMember( Prototype::Accessibility accessibility, bool isConst, bool isRef, char *buffer, int nowLine );
    134127
    135128    //重複チェック
     
    230223
    231224private:
    232     void AddMethod(CClass *pobj_c, DWORD dwAccess, BOOL bStatic, bool isConst, bool isAbstract,
     225    void AddMethod(CClass *pobj_c, Prototype::Accessibility accessibility, BOOL bStatic, bool isConst, bool isAbstract,
    233226        bool isVirtual, bool isOverride, char *buffer, int nowLine);
    234227    BOOL MemberVar_LoopRefCheck(const CClass &objClass);
Note: See TracChangeset for help on using the changeset viewer.