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

Returns an alternate stream object for undoredo 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 undoredo step. Other steps can be controlled by OdDbUndoController.

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