Changeset 128 for XMLIO_V2/dev/dev_rv/src/XMLIO/context.hpp
- Timestamp:
- 10/11/10 16:10:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/XMLIO/context.hpp
r126 r128 111 111 } 112 112 113 virtual void resolveDescInheritance(const AttributRegistrar* const _parent = 0)113 virtual void solveDescInheritance(const AttributRegistrar* const _parent = 0) 114 114 { 115 115 if (_parent != 0) return; 116 116 // Résolution des héritages descendants pour chacun des groupes de définitions. 117 if(fieldDef != NULL) fieldDef -> resolveDescInheritance();118 if(fileDef != NULL) fileDef -> resolveDescInheritance();119 if(axisDef != NULL) axisDef -> resolveDescInheritance();120 if(gridDef != NULL) gridDef -> resolveDescInheritance();121 if(domainDef != NULL) domainDef-> resolveDescInheritance();117 if(fieldDef != NULL) fieldDef ->solveDescInheritance(); 118 if(fileDef != NULL) fileDef ->solveDescInheritance(); 119 if(axisDef != NULL) axisDef ->solveDescInheritance(); 120 if(gridDef != NULL) gridDef ->solveDescInheritance(); 121 if(domainDef != NULL) domainDef->solveDescInheritance(); 122 122 } 123 123 … … 154 154 155 155 // Ne plus utiliser, disponible dans les classe treatment. 156 static void ResolveInheritance(void)156 static void SolveInheritance(void) 157 157 { 158 158 Poco::HashMap<string, StrHashMap<Context> > &AllListContext = Context::GetAllListObject(); … … 161 161 // Résolution des héritages descendants (cà d des héritages de groupes) pour chacun des contextes. 162 162 Context::SetCurrentContext((*it).first); 163 ((*it).second)[(*it).first]-> resolveDescInheritance();163 ((*it).second)[(*it).first]->solveDescInheritance(); 164 164 165 165 // Résolution des héritages par référence au niveau des fichiers. 166 166 const std::vector<CFile*>& allFiles = CFile::GetCurrentListObject().getVector(); 167 for (unsigned int i = 0; i < allFiles.size(); i++) allFiles[i]-> resolveFieldRefInheritance();167 for (unsigned int i = 0; i < allFiles.size(); i++) allFiles[i]->solveFieldRefInheritance(); 168 168 } 169 169 }
Note: See TracChangeset
for help on using the changeset viewer.