Changeset 369 for XIOS/trunk/src/attribute_map.cpp
- Timestamp:
- 10/16/12 13:04:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/attribute_map.cpp
r345 r369 23 23 { 24 24 const StdStrAttPair & att = *it; 25 if (!att.second->isEmpty()) 26 att.second->clear(); 25 att.second->reset(); 27 26 } 28 27 } … … 45 44 ERROR("CAttributeMap::setAttribute(key, attr)", 46 45 << "[ key = " << key << "] attr is null !"); 47 this->find(key)->second->setAnyValue(attr->getAnyValue()); 46 this->find(key)->second->set(*attr) ; 47 // this->find(key)->second->setAnyValue(attr->getAnyValue()); 48 48 } 49 49 … … 127 127 128 128 //--------------------------------------------------------------- 129 129 /* 130 130 void CAttributeMap::toBinary(StdOStream & os) const 131 131 { … … 184 184 } 185 185 } 186 186 */ 187 187 void CAttributeMap::generateCInterface(ostream& oss, const string& className) 188 188 { … … 204 204 } 205 205 } 206 206 207 207 ///-------------------------------------------------------------- 208 208
Note: See TracChangeset
for help on using the changeset viewer.