MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / dump_array

Method dump_array

extlibs/vili/src/node.cpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 std::string node::dump_array() const
124 {
125 const auto& vector = std::get<array>(m_data);
126 std::string dump_value = "[";
127 for (auto it = vector.begin(); it != vector.end(); ++it)
128 {
129 dump_value += it->dump() + (it != (vector.end() - 1) ? ", " : "");
130 }
131 dump_value += "]";
132 return dump_value;
133 }
134
135 std::string node::dump_object(bool root) const
136 {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
dumpMethod · 0.45

Tested by

no test coverage detected