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

Method write

src/validate_xml_writer.cpp:70–79  ·  view source on GitHub ↗

Writes a simple value into the current context

Source from the content-addressed store, hash-verified

68
69/// Writes a simple value into the current context
70BOOL ValidateXmlWriter::write(const std::string& value) {
71 if (file == nullptr) return FALSE;
72
73 std::string escaped_value = escape_xml_value(value);
74
75 printIndent(stream);
76 stream << escaped_value << "\n";
77
78 return TRUE;
79}
80
81/// Writes a numeric value into the current context
82BOOL ValidateXmlWriter::write(I32 value) {

Callers 5

mainFunction · 0.45
write_versionFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

escape_xml_valueFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected