Changeset 1158 for XIOS/dev/dev_olga/src/attribute_template.hpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/attribute_template.hpp
r780 r1158 16 16 { 17 17 /// ////////////////////// Déclarations ////////////////////// /// 18 /*! 19 \class CAttributeTemplate 20 The class implements attribute of some basic types 21 */ 18 22 template <class T> 19 23 class CAttributeTemplate : public CAttribute, public CType<T> … … 54 58 bool hasInheritedValue(void) const; 55 59 60 bool isEqual_(const CAttributeTemplate& attr ); 61 bool isEqual(const CAttribute& attr ); 62 56 63 /// Destructeur /// 57 64 virtual ~CAttributeTemplate(void) { } … … 62 69 /// Autre /// 63 70 virtual StdString toString(void) const { return _toString();} 64 virtual void fromString(const StdString & str) { _fromString(str);}71 virtual void fromString(const StdString & str) { if (str==resetInheritanceStr) { reset(); _canInherite=false ;} else _fromString(str);} 65 72 // virtual CAttributeTemplate* clone() const {} 66 73 // virtual void toBinary (StdOStream & os) const;
Note: See TracChangeset
for help on using the changeset viewer.