Changeset 2146 for XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_map.cpp
- Timestamp:
- 06/04/21 11:57:21 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/attribute_map.cpp
r1622 r2146 59 59 } 60 60 61 ///-------------------------------------------------------------- 62 /*! 63 Record all non-empty attributes of an object (used only for field) for graph 64 */ 65 StdString CAttributeMap::recordXiosAttributes(void) const 66 { 67 StdString str; 68 typedef std::pair<StdString, CAttribute*> StdStrAttPair; 69 auto it = SuperClassMap::begin(), end = SuperClassMap::end(); 70 for (; it != end; it++) 71 { 72 const StdStrAttPair& att = *it; 73 if (!att.second->isEmpty()) 74 { 75 str.append(att.second->dumpGraph()); 76 str.append(" "); 77 } 78 } 79 return str; 80 } 81 61 82 //--------------------------------------------------------------- 62 83 63 84 /* 64 Clea r an attribute and reset its value85 Cleassr an attribute and reset its value 65 86 \param[in] key id of attribute 66 87 */
Note: See TracChangeset
for help on using the changeset viewer.