MCPcopy Create free account
hub / github.com/assimp/assimp / StartObj

Method StartObj

code/AssetLib/Assjson/json_exporter.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 void StartObj(bool is_element = false) {
115 // if this appears as a plain array element, we need to insert a delimiter and we should also indent it
116 if (is_element) {
117 AddIndentation();
118 if (!first) {
119 buff << ',';
120 }
121 }
122 first = true;
123 buff << "{" << newline;
124 PushIndent();
125 }
126
127 void EndObj() {
128 PopIndent();

Callers 2

WriteFunction · 0.80
WriteFormatInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected