Changeset 172 for XMLIO_V2/dev/dev_rv/src/xmlio/attribute.cpp
- Timestamp:
- 04/12/11 16:54:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/attribute.cpp
r152 r172 13 13 CAttribute::CAttribute(const CAttribute & attribut) 14 14 : CObject(attribut.getId()) 15 { this->value = attribut.getAnyValue(); } 15 { 16 this->value = attribut.getAnyValue(); 17 } 18 19 CAttribute::~CAttribute(void) 20 { /* Ne rien faire de plus */ } 21 22 ///-------------------------------------------------------------- 16 23 17 24 const boost::any & CAttribute::getAnyValue(void) const 18 { return (this->value); } 25 { 26 return (this->value); 27 } 19 28 20 29 21 30 void CAttribute::setAnyValue(const boost::any & value) 22 { this->value = value; } 31 { 32 this->value = value; 33 } 23 34 24 CAttribute::~CAttribute(void) 25 { /* Ne rien faire de plus */ } 35 //--------------------------------------------------------------- 26 36 27 37 bool CAttribute::isEmpty(void) const 28 { return (this->value.empty()); } 38 { 39 return (this->value.empty()); 40 } 29 41 30 42 const StdString & CAttribute::getName(void) const 31 { return (this->getId()); } 43 { 44 return (this->getId()); 45 } 46 47 ///-------------------------------------------------------------- 32 48 33 49 } // namespace tree
Note: See TracChangeset
for help on using the changeset viewer.