MCPcopy Create free account
hub / github.com/city-super/Scaffold-GS / XMLTree

Method XMLTree

SIBR_viewers/src/core/system/XMLTree.cpp:21–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20namespace sibr {
21 XMLTree::XMLTree(const std::string & path)
22 {
23 std::cout << "Parsing xml file < " << path << " > : ";
24 std::ifstream file(path.c_str());
25 if (file) {
26 std::stringstream buffer;
27 buffer << file.rdbuf();
28 file.close();
29 xmlString = std::move(std::string(buffer.str()));
30 this->parse<0>(&xmlString[0]);
31 std::cout << "success " << std::endl;
32 }
33 else {
34 std::cout << "error, cant open file " << std::endl;
35 }
36 }
37
38
39 XMLTree::~XMLTree(void)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected