If in print to memory mode, reset the buffer to the beginning. */
| 2032 | beginning. |
| 2033 | */ |
| 2034 | void ClearBuffer() { |
| 2035 | _buffer.Clear(); |
| 2036 | _buffer.Push(0); |
| 2037 | } |
| 2038 | |
| 2039 | protected: |
| 2040 | virtual bool CompactMode( const XMLElement& ) { return _compactMode; } |