Changeset 1704 for XIOS/trunk/src/attribute_map.cpp
- Timestamp:
- 09/11/19 10:22:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/attribute_map.cpp
r1622 r1704 48 48 { 49 49 str.append(att.second->dump()); 50 str.append(" "); 51 } 52 else if (str.length() == maxNbChar) 53 { 54 str.append("..."); 55 } 56 } 57 } 58 return str; 59 } 60 61 62 63 StdString CAttributeMap::record4graphXiosAttributes(void) const 64 { 65 int maxNbChar = 250; 66 StdString str; 67 typedef std::pair<StdString, CAttribute*> StdStrAttPair; 68 auto it = SuperClassMap::begin(), end = SuperClassMap::end(); 69 for (; it != end; it++) 70 { 71 const StdStrAttPair& att = *it; 72 if (!att.second->isEmpty()) 73 { 74 if (str.length() < maxNbChar) 75 { 76 str.append(att.second->dump4graph()); 50 77 str.append(" "); 51 78 }
Note: See TracChangeset
for help on using the changeset viewer.