Changeset 100 in dev for BasicCompiler_Common/Class.h


Ignore:
Timestamp:
Apr 24, 2007, 3:17:29 AM (17 years ago)
Author:
dai_9181
Message:

名前空間機能をグローバル関数に適用。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.h

    r97 r100  
    33#include <vector>
    44#include "Type.h"
     5#include "Procedure.h"
    56
    67class CClass;
    7 class UserProc;
    88
    99#define ACCESS_NON          0
     
    3737    static void InitStaticMember(void);
    3838};
    39 class CMethod{
     39class CMethod
     40{
    4041public:
    4142    UserProc *pUserProc;
     43
    4244    DWORD dwAccess;
    4345    BOOL bAbstract;
    4446    BOOL bVirtual;
    4547    bool isConst;
     48    bool isStatic;
    4649
    4750    CClass *pobj_InheritsClass;
    4851
    4952    CMethod(CMethod *pobj);
    50     CMethod();
     53    CMethod( UserProc *pUserProc, DWORD dwAccess, BOOL bAbstract, BOOL bVirtual, bool isConst, bool isStatic );
    5154    ~CMethod();
    5255};
     56
    5357class CDBClass;
    5458class CDebugSection;
     
    135139
    136140    //メソッドを列挙
    137     void EnumStaticMethod( const char *methodName, std::vector<UserProc *> &subs ) const;
    138     void EnumMethod( const char *methodName, std::vector<UserProc *> &subs ) const;
    139     void EnumMethod( const BYTE idOperatorCalc, std::vector<UserProc *> &subs ) const;
     141    void EnumStaticMethod( const char *methodName, vector<UserProc *> &subs ) const;
     142    void EnumMethod( const char *methodName, vector<UserProc *> &subs ) const;
     143    void EnumMethod( const BYTE idOperatorCalc, vector<UserProc *> &subs ) const;
    140144    const std::vector<CMethod *> &GetMethods() const
    141145    {
Note: See TracChangeset for help on using the changeset viewer.