Changeset 523 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include/TypeDef.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/TypeDef.h
r509 r523 6 6 #include <Type.h> 7 7 8 using namespace std;9 10 8 class TypeDefCollection; 11 9 … … 14 12 friend TypeDefCollection; 15 13 16 st ring baseName;14 std::string baseName; 17 15 Type baseType; 18 16 … … 30 28 31 29 public: 32 TypeDef( const NamespaceScopes &namespaceScopes, const st ring &name, conststring &baseName, int nowLine );30 TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, int nowLine ); 33 31 TypeDef() 34 32 { … … 38 36 } 39 37 40 const st ring &GetBaseName() const38 const std::string &GetBaseName() const 41 39 { 42 40 return baseName; … … 65 63 ~TypeDefCollection(); 66 64 67 void Add( const NamespaceScopes &namespaceScopes, const st ring &name, conststring &baseName, int nowLine );68 int GetIndex( const NamespaceScopes &namespaceScopes, const st ring &name ) const;69 int GetIndex( const st ring &fullName ) const;65 void Add( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, int nowLine ); 66 int GetIndex( const NamespaceScopes &namespaceScopes, const std::string &name ) const; 67 int GetIndex( const std::string &fullName ) const; 70 68 71 69 private: 72 void Add( const NamespaceScopes &namespaceScopes, const st ring &expression, int nowLine );70 void Add( const NamespaceScopes &namespaceScopes, const std::string &expression, int nowLine ); 73 71 public: 74 72 void CollectTypeDefs();
Note:
See TracChangeset
for help on using the changeset viewer.