| 83 | }; |
| 84 | |
| 85 | class Document |
| 86 | { |
| 87 | public: |
| 88 | struct Expat; |
| 89 | |
| 90 | Node* root; |
| 91 | |
| 92 | Document(); |
| 93 | ~Document(); |
| 94 | |
| 95 | Document(const std::string& xml); |
| 96 | |
| 97 | void from_xml(const std::string& xml); |
| 98 | |
| 99 | std::string to_xml() const; |
| 100 | |
| 101 | private: |
| 102 | |
| 103 | int m_depth; |
| 104 | }; |
| 105 | |
| 106 | } // namespace xml |
| 107 |
nothing calls this directly
no outgoing calls
no test coverage detected