Finally, write the entire report to the output
| 137 | |
| 138 | /// Finally, write the entire report to the output |
| 139 | BOOL 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 |
| 149 | BOOL ValidateXmlWriter::endsub(const std::string& key) { |