MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / getValueString

Method getValueString

include/DataGeneric.h:94–112  ·  view source on GitHub ↗

generate pretty output strings */

Source from the content-addressed store, hash-verified

92
93 /** generate pretty output strings */
94 std::string getValueString() const
95 {
96 std::string Out;
97
98 for(const auto &Element : _Config->getConfig(_Type))
99 {
100 for(Index nElement = 0; nElement < _Data.at(Element.first).size(); nElement++)
101 {
102 std::ostringstream Stream;
103 Stream.precision(8);
104 Stream << std::scientific << _Data.at(Element.first).operator[](nElement);
105
106 Out.append(Stream.str());
107 Out.append(" ");
108 }
109 }
110
111 return Out;
112 }
113
114 std::string getNameValueString() const
115 {

Callers 1

WriteDataToFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected