wxFormBuilder / ticpp

This project is obsolete. TinyXML-2 offers a very similar C++ interface.
MIT License
92 stars 34 forks source link

Addes Clear() to TiXmlPrinter #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Am I doing something wrong? I could not manage  a way to serialize elements 
with << operator. 
Considereing I'm doing this task a lot, i found necessary to add a function
TiXmlPrinter::Clear() because of my needs. It just clear the buffer string and 
allow to reuse the 
object.

void Clear() {buffer.clear();}

Original issue reported on code.google.com by tnnogue...@gmail.com on 15 Jan 2009 at 8:58