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/attribute_array.hpp

    r392 r445  
    3737            void set(const CAttributeArray& attr) ; 
    3838             
     39            void setInheritedValue(const CAttributeArray& attr ); 
     40            void setInheritedValue(const CAttribute& attr ); 
     41            CArray<T_numtype, N_rank> getInheritedValue(void) const ; 
     42            bool hasInheritedValue(void) const;             
     43 
    3944            /// Destructeur /// 
    4045            virtual ~CAttributeArray(void) { } 
     
    6267 
    6368         private : 
     69          CArray<T_numtype, N_rank> inheritedValue ; 
    6470          StdString _toString(void) const; 
    6571          void _fromString(const StdString & str); 
Note: See TracChangeset for help on using the changeset viewer.