Ignore:
Timestamp:
06/19/13 10:09:36 (11 years ago)
Author:
ymipsl
Message:

Add possibility to make inheritance of attributes and reference before closing the context definition.
New fortran fonction : xios_solve inheritance()
After this call, the value of attribute have the inherited value of their parent.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/object_template_impl.hpp

    r432 r445  
    139139 
    140140   template <class T> 
    141       void CObjectTemplate<T>::solveDescInheritance(const CAttributeMap * const parent) 
     141      void CObjectTemplate<T>::solveDescInheritance(bool apply, const CAttributeMap * const parent) 
    142142   {  
    143       SuperClassMap::setAttributes(parent);  
     143      SuperClassMap::setAttributes(parent, apply);  
    144144   } 
    145145 
Note: See TracChangeset for help on using the changeset viewer.