If in print to memory mode, reset the buffer to the beginning. */
| 2295 | beginning. |
| 2296 | */ |
| 2297 | void ClearBuffer( bool resetToFirstElement = true ) { |
| 2298 | _buffer.Clear(); |
| 2299 | _buffer.Push(0); |
| 2300 | _firstElement = resetToFirstElement; |
| 2301 | } |
| 2302 | |
| 2303 | protected: |
| 2304 | virtual bool CompactMode( const XMLElement& ) { return _compactMode; } |