API Reference > OdDb Classes > OdDbBaseHostAppServices Class > OdDbBaseHostAppServices Methods > OdDbBaseHostAppServices::newUndoStream Method
OdDbBaseHostAppServices::newUndoStream Method
Syntax
C++
virtual OdStreamBufPtr newUndoStream();

Returns an alternate stream object for undo/redo operations.

The default implementation of this function always returns a null SmartPointer. It may return null in the user application. In this case the default memory based stream will be used. In fact this stream will be used for the current undo/redo step. Other steps can be controlled by OdDbUndoController.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.