MCPcopy Create free account
hub / github.com/comaps/comaps / KMLFileGuard

Method KMLFileGuard

libs/search/house_detector.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84{
85public:
86 KMLFileGuard(string const & name)
87 {
88 m_file.open(GetPlatform().WritablePathForFile(name).c_str());
89
90 m_file << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << endl;
91 m_file << "<kml xmlns=\"http://earth.google.com/kml/2.2\">" << endl;
92 m_file << "<Document>" << endl;
93 }
94
95 ~KMLFileGuard()
96 {

Callers

nothing calls this directly

Calls 2

openMethod · 0.80
WritablePathForFileMethod · 0.80

Tested by

no test coverage detected