MCPcopy Create free account
hub / github.com/attermann/microReticulum / toString

Method toString

test/test_persistence/test_persistence.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 TestObject(const char* str, std::vector<std::string>& vec) : _str(str), _vec(vec) {}
47 inline bool operator < (const TestObject& test) const { return _str < test._str; }
48 inline const std::string toString() const { return std::string("TestObject(") + _str + "," + std::to_string(_vec.size()) + ")"; }
49 std::string _str;
50 std::vector<std::string> _vec;
51};

Callers 15

testReadFunction · 0.45
testSerializeObjectFunction · 0.45
testDeserializeObjectFunction · 0.45
testDeserializeVectorFunction · 0.45
testDeserializeSetFunction · 0.45
testDeserializeMapFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected