Switch over to "stream printing" which is the most dense formatting without linebreaks. Common when the XML is needed for network transmission. */
| 1771 | linebreaks. Common when the XML is needed for network transmission. |
| 1772 | */ |
| 1773 | void SetStreamPrinting() { indent = ""; |
| 1774 | lineBreak = ""; |
| 1775 | } |
| 1776 | /// Return the result. |
| 1777 | const char* CStr() { return buffer.c_str(); } |
| 1778 | /// Return the length of the result string. |