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_enum.hpp

    r369 r445  
    4040            void set(const CAttributeEnum& attr) ; 
    4141             
     42            void setInheritedValue(const CAttributeEnum& attr ); 
     43            void setInheritedValue(const CAttribute& attr ); 
     44            T_enum getInheritedValue(void)  const; 
     45            string getInheritedStringValue(void) const; 
     46            bool hasInheritedValue(void) const;           
     47           
    4248            /// Destructeur /// 
    4349            virtual ~CAttributeEnum(void) { } 
     
    7278          bool _toBuffer  (CBufferOut& buffer) const; 
    7379          bool _fromBuffer(CBufferIn& buffer) ; 
     80          CEnum<T> inheritedValue ; 
    7481      }; // class CAttributeEnum     
    7582    
Note: See TracChangeset for help on using the changeset viewer.