1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 23:22:59 +04:00

Replace InitDocument() with Clear() and make it part of the API.

This commit is contained in:
Martinsh Shaiters
2013-01-30 11:14:27 +02:00
parent 8afdb09aa4
commit a9d42b0dd3
2 changed files with 9 additions and 8 deletions
+3 -1
View File
@@ -1532,6 +1532,9 @@ public:
}
/// If there is an error, print it to stdout.
void PrintError() const;
/// Clear the document, resetting it to the initial state.
void Clear();
// internal
char* Identify( char* p, XMLNode** node );
@@ -1546,7 +1549,6 @@ public:
private:
XMLDocument( const XMLDocument& ); // not supported
void operator=( const XMLDocument& ); // not supported
void InitDocument();
bool _writeBOM;
bool _processEntities;