| 84 | { |
| 85 | public: |
| 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 | { |
nothing calls this directly
no test coverage detected