mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
missing default parameter for compact mode in XMLPrinter
This commit is contained in:
parent
98112fcdba
commit
256adb6371
@ -117,3 +117,5 @@ print( '1. Build. g++ -Wall -DDEBUG tinyxml2.cpp xmltest.cpp -o gccxmltest.exe
|
|||||||
print( '2. Commit. git commit -am"setting the version to ' + versionStr + '"' )
|
print( '2. Commit. git commit -am"setting the version to ' + versionStr + '"' )
|
||||||
print( '3. Tag. git tag ' + versionStr )
|
print( '3. Tag. git tag ' + versionStr )
|
||||||
print( ' OR git tag -a ' + versionStr + ' -m <tag message>' )
|
print( ' OR git tag -a ' + versionStr + ' -m <tag message>' )
|
||||||
|
print( 'Remember to "git push" both code and tag.' )
|
||||||
|
|
@ -1964,7 +1964,7 @@ public:
|
|||||||
/** If streaming, start writing an element.
|
/** If streaming, start writing an element.
|
||||||
The element must be closed with CloseElement()
|
The element must be closed with CloseElement()
|
||||||
*/
|
*/
|
||||||
void OpenElement( const char* name, bool compactMode );
|
void OpenElement( const char* name, bool compactMode=false );
|
||||||
/// If streaming, add an attribute to an open element.
|
/// If streaming, add an attribute to an open element.
|
||||||
void PushAttribute( const char* name, const char* value );
|
void PushAttribute( const char* name, const char* value );
|
||||||
void PushAttribute( const char* name, int value );
|
void PushAttribute( const char* name, int value );
|
||||||
@ -1972,7 +1972,7 @@ public:
|
|||||||
void PushAttribute( const char* name, bool value );
|
void PushAttribute( const char* name, bool value );
|
||||||
void PushAttribute( const char* name, double value );
|
void PushAttribute( const char* name, double value );
|
||||||
/// If streaming, close the Element.
|
/// If streaming, close the Element.
|
||||||
virtual void CloseElement( bool compactMode );
|
virtual void CloseElement( bool compactMode=false );
|
||||||
|
|
||||||
/// Add a text node.
|
/// Add a text node.
|
||||||
void PushText( const char* text, bool cdata=false );
|
void PushText( const char* text, bool cdata=false );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user