Changeset 1574


Ignore:
Timestamp:
09/10/18 14:17:37 (3 years ago)
Author:
ymipsl
Message:

Enhancement : group_ref attribute (field_group) make also inheritance from referenced field group.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/field.cpp

    r1542 r1574  
    14691469      CFieldGroup* group = CFieldGroup::get(gref); 
    14701470      CFieldGroup* owner = CFieldGroup::get(boost::polymorphic_downcast<CFieldGroup*>(this)); 
    1471  
     1471      owner->setAttributes(group); // inherite of attributes of group reference 
     1472       
    14721473      std::vector<CField*> allChildren  = group->getAllChildren(); 
    14731474      std::vector<CField*>::iterator it = allChildren.begin(), end = allChildren.end(); 
Note: See TracChangeset for help on using the changeset viewer.