MCPcopy Create free account
hub / github.com/LAStools/LAStools / endsub

Method endsub

src/validate_json_writer.cpp:151–156  ·  view source on GitHub ↗

Closes the current sub-section and restores the previous write context

Source from the content-addressed store, hash-verified

149
150/// Closes the current sub-section and restores the previous write context
151BOOL ValidateJsonWriter::endsub(const std::string& key) {
152 if (file == nullptr || stack.size() <= 1) return FALSE;
153
154 stack.pop_back();
155 return TRUE;
156}
157
158/// Closes the current section and restores the parent context; finalizes output if the root section is closed
159BOOL ValidateJsonWriter::end(const std::string& key) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected