If in print to memory mode, reset the buffer to the beginning. */
| 2319 | beginning. |
| 2320 | */ |
| 2321 | void ClearBuffer( bool resetToFirstElement = true ) { |
| 2322 | _buffer.Clear(); |
| 2323 | _buffer.Push(0); |
| 2324 | _firstElement = resetToFirstElement; |
| 2325 | } |
| 2326 | |
| 2327 | protected: |
| 2328 | virtual bool CompactMode( const XMLElement& ) { return _compactMode; } |