Ignore:
Timestamp:
06/18/10 14:33:19 (14 years ago)
Author:
hozdoba
Message:

Début de prise en charge des références (sans contrÎle ni transmission d'attribut pour le moment).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/file.hpp

    r107 r108  
    3636         } 
    3737 
     38         void getAllFields(std::vector<CField*>& _allF) const {  if (vfieldGroup!=NULL) vfieldGroup->getAllChildren(_allF); } 
    3839         virtual bool hasChild(void) const { return (vfieldGroup != NULL); } 
    3940         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         }*/ 
    4046         virtual void resolveDescInheritance(const AttributRegistrar* _parent = 0) 
    4147         { 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         } 
    4254 
    4355         FieldGroup* getVirtualFieldGroup(void) { return (vfieldGroup); } 
Note: See TracChangeset for help on using the changeset viewer.