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