Changeset 108 for XMLIO_V2/dev/dev_rv/src/XMLIO/file.hpp
- Timestamp:
- 06/18/10 14:33:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/XMLIO/file.hpp
r107 r108 36 36 } 37 37 38 void getAllFields(std::vector<CField*>& _allF) const { if (vfieldGroup!=NULL) vfieldGroup->getAllChildren(_allF); } 38 39 virtual bool hasChild(void) const { return (vfieldGroup != NULL); } 39 40 virtual void printChild(ostream& out) const { out << *vfieldGroup << std::endl; } 41 /*{ // Sortie sans affichage des groupes. 42 std::vector<CField*> allF; getAllFields(allF); 43 for (unsigned int i = 0; i < allF.size(); i++) 44 out << *(allF[i]) << std::endl; 45 }*/ 40 46 virtual void resolveDescInheritance(const AttributRegistrar* _parent = 0) 41 47 { addAttributes(*_parent); if(vfieldGroup != NULL) vfieldGroup->resolveDescInheritance(); } 48 49 void resolveFieldRefInheritance(void) 50 { 51 std::vector<CField*> allF; getAllFields(allF); 52 for (unsigned int i = 0; i < allF.size(); i++) allF[i]->resolveRefInheritance(); 53 } 42 54 43 55 FieldGroup* getVirtualFieldGroup(void) { return (vfieldGroup); }
Note: See TracChangeset
for help on using the changeset viewer.