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

Method end

src/validate_txt_writer.cpp:144–151  ·  view source on GitHub ↗

Closes the current section and restores the parent context; finalizes output if the root section is closed

Source from the content-addressed store, hash-verified

142
143/// Closes the current section and restores the parent context; finalizes output if the root section is closed
144BOOL ValidateTxtWriter::end(const std::string& key) {
145 if (file == nullptr || indent == 0) return FALSE;
146
147 indent--;
148 stream << "\n";
149
150 return TRUE;
151}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected