MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / GetIndentation

Method GetIndentation

opt_utils/src/json.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 std::string GetIndentation(unsigned int level) const
54 {
55 if (!format.newline)
56 {
57 return "";
58 }
59 else
60 {
61 return std::string(format.indentSize * level, indentationChar);
62 }
63 }
64
65 inline const std::string &GetNewline() const
66 {

Callers 2

writeObjectMethod · 0.80
writeArrayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected