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

Method write_final

src/validate_xml_writer.cpp:139–146  ·  view source on GitHub ↗

Finally, write the entire report to the output

Source from the content-addressed store, hash-verified

137
138/// Finally, write the entire report to the output
139BOOL ValidateXmlWriter::write_final() {
140 if (file == nullptr) return FALSE;
141
142 std::string out = stream.str();
143 fwrite(out.data(), 1, out.size(), file);
144
145 return TRUE;
146}
147
148/// Closes the current sub-section and restores the previous write context
149BOOL ValidateXmlWriter::endsub(const std::string& key) {

Callers 1

mainFunction · 0.45

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected