Changeset 73 in dev for BasicCompiler_Common/Class.h
- Timestamp:
- Mar 16, 2007, 11:07:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.h
r71 r73 2 2 3 3 class CClass; 4 struct SUBINFO;4 class SubInfo; 5 5 6 6 //データ型 … … 48 48 class CMethod{ 49 49 public: 50 S UBINFO*psi;50 SubInfo *psi; 51 51 DWORD dwAccess; 52 52 BOOL bAbstract; … … 116 116 void AddMember( DWORD dwAccess, bool idConst, bool isRef, char *buffer ); 117 117 void AddStaticMember( DWORD dwAccess, bool isConst, bool isRef, char *buffer, int NowLine ); 118 void AddMethod( S UBINFO*psi,DWORD dwAccess, bool isConst, BOOL bAbstract, BOOL bVirtual );119 void AddStaticMethod(S UBINFO*psi,DWORD dwAccess);118 void AddMethod( SubInfo *psi,DWORD dwAccess, bool isConst, BOOL bAbstract, BOOL bVirtual ); 119 void AddStaticMethod(SubInfo *psi,DWORD dwAccess); 120 120 121 121 //重複チェック … … 124 124 125 125 //メソッド取得 126 CMethod *GetMethodInfo( S UBINFO*psi );127 CMethod *GetStaticMethodInfo( S UBINFO*psi );126 CMethod *GetMethodInfo( SubInfo *psi ); 127 CMethod *GetStaticMethodInfo( SubInfo *psi ); 128 128 129 129 //メソッドの存在を確認 … … 132 132 133 133 //メソッドを列挙 134 void EnumStaticMethod( const char *methodName, std::vector<S UBINFO*> &subs ) const;135 void EnumMethod( const char *methodName, std::vector<S UBINFO*> &subs ) const;136 void EnumMethod( const BYTE idOperatorCalc, std::vector<S UBINFO*> &subs ) const;134 void EnumStaticMethod( const char *methodName, std::vector<SubInfo *> &subs ) const; 135 void EnumMethod( const char *methodName, std::vector<SubInfo *> &subs ) const; 136 void EnumMethod( const BYTE idOperatorCalc, std::vector<SubInfo *> &subs ) const; 137 137 138 138 //デフォルト コンストラクタ メソッドを取得 … … 157 157 long vtbl_offset; 158 158 public: 159 int GetFuncNumInVtbl( const S UBINFO*psi ) const;159 int GetFuncNumInVtbl( const SubInfo *psi ) const; 160 160 LONG_PTR GetVtblGlobalOffset(void); 161 161 void ActionVtblSchedule(LONG_PTR ImageBase, LONG_PTR MemPos_CodeSection); … … 245 245 public: 246 246 //コンパイル開始の通知を受け取るメソッド 247 void StartCompile( S UBINFO*psi );247 void StartCompile( SubInfo *psi ); 248 248 249 249 //現在コンパイル中のメソッド情報を取得
Note:
See TracChangeset
for help on using the changeset viewer.