Changeset 192 in dev for trunk/jenga/src/smoothie/Namespace.cpp
- Timestamp:
- Jun 26, 2007, 5:04:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/src/smoothie/Namespace.cpp
r186 r192 26 26 } 27 27 28 bool NamespaceScopes::IsImported() const29 {30 BOOST_FOREACH( const NamespaceScopes &namespaceScopes, Smoothie::Temp::importedNamespaces ){31 if( this->IsEqual( namespaceScopes ) ){32 return true;33 }34 }35 return false;36 }37 28 bool NamespaceScopes::IsLiving() const 38 29 { … … 104 95 lstrcpy( simpleName, fullName + lstrlen( namespaceStr ) + dotLength ); 105 96 } 106 bool NamespaceScopesCollection::Imports( const string &namespaceStr ){107 NamespaceScopes namespaceScopes( namespaceStr );108 if( !Smoothie::GetMeta().namespaceScopesCollection.IsExist( namespaceScopes ) ){109 return false;110 }111 112 this->push_back( namespaceScopes );113 114 return true;115 }116 97 bool NamespaceScopesCollection::CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection ) 117 98 {
Note:
See TracChangeset
for help on using the changeset viewer.