Changeset 1158 for XIOS/dev/dev_olga/src/attribute_array.hpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/attribute_array.hpp
r780 r1158 13 13 { 14 14 /// ////////////////////// Déclarations ////////////////////// /// 15 /*! 16 \class CAttributeArray 17 This class implements the attribute representing array of value 18 */ 15 19 template <typename T_numtype, int N_rank> 16 20 class CAttributeArray : public CAttribute, public CArray<T_numtype, N_rank> … … 19 23 20 24 using CArray<T_numtype,N_rank>::operator = ; 21 // using Array<T_numtype,N_rank>::operator = ;22 25 23 26 /// Constructeurs /// … … 40 43 CArray<T_numtype, N_rank> getInheritedValue(void) const ; 41 44 bool hasInheritedValue(void) const; 45 46 bool isEqual(const CAttributeArray& attr); 47 bool isEqual(const CAttribute& attr); 42 48 43 49 /// Destructeur /// … … 47 53 /// Autre /// 48 54 virtual string toString(void) const { return _toString();} 49 virtual void fromString(const StdString & str) { _fromString(str);}55 virtual void fromString(const StdString & str) { if (str==resetInheritanceStr) { reset(); _canInherite=false ;} else _fromString(str);} 50 56 virtual bool toBuffer (CBufferOut& buffer) const { return _toBuffer(buffer);} 51 57 virtual bool fromBuffer(CBufferIn& buffer) { return _fromBuffer(buffer); } … … 60 66 virtual void generateFortranInterfaceGetDeclaration(ostream& oss,const string& className) ; 61 67 62 63 protected :64 65 /// Constructeurs ///66 67 68 private : 68 69 CArray<T_numtype, N_rank> inheritedValue ;
Note: See TracChangeset
for help on using the changeset viewer.