API Reference > OdDb Classes > OdDbLongTransaction Class > OdDbLongTransaction Methods > OdDbLongTransaction::applyPartialUndo Method
OdDbLongTransaction::applyPartialUndo Method
Syntax
C++
void applyPartialUndo(OdDbDwgFiler* pUndoFiler, OdRxClass* pClassObj);
Parameters 
Description 
OdDbDwgFiler* pUndoFiler 
[in] A pointer to the undo filer with the partial undo information.  
OdRxClass* pClassObj 
[in] A pointer to the OdRxClass object for the class that will handle the Undo. 

Notification function called each time an Undo operation is performed this object is using partial Undo. 

 

An object indicates it's using the partial undo mechanism, if and only if it has set autoUndo false in all calls to assertWriteEnabled(). 

This member function must know which types of fields to scan, and must stop after reading what it it needs. 

If the class type specified by pClassObj does not matches the class of this object, this member function must call the parent class's applyPartialUndo() and return whatever it returns. 

If it does match the class of this object, this member function must use pUndoFiler to read the undo data, then typically use this object's set() method.

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