Changeset 1158 for XIOS/dev/dev_olga/src/attribute.cpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/attribute.cpp
r680 r1158 6 6 namespace xios 7 7 { 8 9 const StdString CAttribute::resetInheritanceStr("_reset_") ; 10 8 11 /// ////////////////////// Définitions ////////////////////// /// 9 12 CAttribute::CAttribute(const StdString & id) 10 : CObject(id), CBaseType() 13 : CObject(id), CBaseType(), _canInherite(true) 11 14 // , value() 12 15 { /* Ne rien faire de plus */ } 13 16 /* 14 CAttribute::CAttribute(const CAttribute & attribut)15 : CObject(attribut.getId()),CBaseType()16 {17 // this->value = attribut.getAnyValue();18 }19 17 */ 20 18 CAttribute::~CAttribute(void) … … 22 20 23 21 ///-------------------------------------------------------------- 24 /*25 const boost::any & CAttribute::getAnyValue(void) const26 {27 return (this->value);28 }29 22 30 31 void CAttribute::setAnyValue(const boost::any & value)32 {33 this->value = value;34 }35 36 void CAttribute::clear(void)37 {38 this->value = boost::any();39 }40 41 //---------------------------------------------------------------42 43 bool CAttribute::isEmpty(void) const44 {45 return (this->value.empty());46 }47 */48 23 const StdString & CAttribute::getName(void) const 49 24 { … … 79 54 ///-------------------------------------------------------------- 80 55 81 82 56 CMessage& operator<<(CMessage& msg,CAttribute& type) 83 57 {
Note: See TracChangeset
for help on using the changeset viewer.