Changeset 523 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include/Member.h
- Timestamp:
- May 1, 2008, 11:03:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Member.h
r510 r523 7 7 #include <Program.h> 8 8 9 using namespace std;10 11 9 class CClass; 12 10 13 11 class CMember : public MemberPrototype 14 12 { 15 st ring name;13 std::string name; 16 14 Type type; 17 15 bool isConst; 18 16 Subscripts subscripts; 19 17 20 st ring initializeExpression;21 st ring constructParameter;18 std::string initializeExpression; 19 std::string constructParameter; 22 20 23 21 // XMLシリアライズ用 … … 42 40 int source_code_address; 43 41 44 const st ring &GetName() const42 const std::string &GetName() const 45 43 { 46 44 return name; 47 45 } 48 void SetName( const st ring &name )46 void SetName( const std::string &name ) 49 47 { 50 48 this->name = name; … … 70 68 } 71 69 72 const st ring &GetInitializeExpression() const70 const std::string &GetInitializeExpression() const 73 71 { 74 72 return initializeExpression; 75 73 } 76 const st ring &GetConstructParameter() const74 const std::string &GetConstructParameter() const 77 75 { 78 76 return constructParameter; 79 77 } 80 78 81 CMember( Prototype::Accessibility accessibility, const st ring &name, const Type &newType, bool isConst, const Subscripts &subscripts, const string &initializeExpression, conststring &constructParameter )79 CMember( Prototype::Accessibility accessibility, const std::string &name, const Type &newType, bool isConst, const Subscripts &subscripts, const std::string &initializeExpression, const std::string &constructParameter ) 82 80 : MemberPrototype( accessibility ) 83 81 , name( name )
Note:
See TracChangeset
for help on using the changeset viewer.