Changeset 105 in dev for BasicCompiler_Common/include
- Timestamp:
- May 4, 2007, 3:43:48 PM (18 years ago)
- Location:
- BasicCompiler_Common/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/include/Namespace.h
r102 r105 11 11 public: 12 12 NamespaceScopes(){} 13 NamespaceScopes( const char *name);13 NamespaceScopes( const string &namespaceStr ); 14 14 ~NamespaceScopes(){} 15 15 … … 114 114 } 115 115 }; 116 117 class NamespaceScopesCollection : public vector<NamespaceScopes> 118 { 119 public: 120 bool IsExist( const NamespaceScopes &namespaceScopes ) const 121 { 122 const NamespaceScopesCollection &namespaceScopesCollection = *this; 123 BOOST_FOREACH( const NamespaceScopes &tempNamespaceScopes, namespaceScopesCollection ){ 124 if( tempNamespaceScopes.IsEqual( namespaceScopes ) ){ 125 return true; 126 } 127 } 128 return false; 129 } 130 bool IsExist( const string &namespaceStr ) const 131 { 132 return IsExist( NamespaceScopes( namespaceStr ) ); 133 } 134 void SplitNamespace( const char *fullName, char *namespaceStr, char *simpleName ) const; 135 136 static bool CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection ); 137 }; -
BasicCompiler_Common/include/Smoothie.h
r101 r105 48 48 static TypeDefCollection typeDefs; 49 49 static vector<ProcPointer *> procPointers; 50 static NamespaceScopesCollection namespaceScopesCollection; 50 51 }; 51 52 };
Note:
See TracChangeset
for help on using the changeset viewer.