Ignore:
Timestamp:
06/06/17 17:58:16 (7 years ago)
Author:
oabramkina
Message:

Two server levels: merging with trunk r1137.
There are bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/attribute_enum.hpp

    r591 r1158  
    1515{ 
    1616      /// ////////////////////// Déclarations ////////////////////// /// 
     17        /*! 
     18        \class CAttributeEnum 
     19        This class implements the attribute representing enumeration 
     20      */ 
    1721      template <class T> 
    1822         class CAttributeEnum : public CAttribute, public CEnum<T> 
     
    4751            bool hasInheritedValue(void) const;           
    4852           
     53            bool isEqual(const CAttributeEnum& attr ); 
     54            bool isEqual(const CAttribute& attr ); 
     55 
    4956            /// Destructeur /// 
    5057            virtual ~CAttributeEnum(void) { } 
     
    5562            /// Autre /// 
    5663            virtual StdString toString(void) const { return _toString();} 
    57             virtual void fromString(const StdString & str) { _fromString(str);} 
     64            virtual void fromString(const StdString & str) { if (str==resetInheritanceStr) { reset(); _canInherite=false ;}  else _fromString(str);} 
    5865 
    5966            virtual bool toBuffer  (CBufferOut& buffer) const { return _toBuffer(buffer);}  
     
    6976            virtual void generateFortranInterfaceGetDeclaration(ostream& oss,const string& className) ; 
    7077 
    71        
    72          protected : 
    73  
    74             /// Constructeurs /// 
    75 //            CAttributeTemplate(void); // Not implemented. 
    7678         private : 
    7779          StdString _toString(void) const; 
Note: See TracChangeset for help on using the changeset viewer.