MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetReprString

Method GetReprString

trinity/TriSettings.h:44–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 std::string GetReprString()
45 {
46 std::string repr = "{";
47 for( SettingMap::const_iterator it = m_map.begin(); it != m_map.end(); ++it )
48 {
49 std::string entry = "'" + it->first + "':";
50 entry += GetSettingReprString( &it->second );
51 entry += ", ";
52 repr += entry;
53 }
54 repr += "}";
55
56 return repr;
57 }
58
59 std::string GetSettingReprString( const Setting* s );
60

Callers 1

PyReprFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected