|
Rhino C++ API
9.0
|
#include <rhinoSdkDoc.h>
Public Member Functions | |
| CRhinoUndoRecord () | |
| CRhinoUndoRecord (const CRhinoUndoRecord &) | |
| ~CRhinoUndoRecord () | |
| const wchar_t * | Description () const |
| bool | IsSet () const |
| CRhinoUndoRecord & | operator= (const CRhinoUndoRecord &) |
| unsigned int | SerialNumber () const |
Static Public Attributes | |
| static const CRhinoUndoRecord | Unset |
Friends | |
| class | CRhinoDoc |
Description: CRhinoUndoRecord is a snapshot of a single entry in a document's undo or redo history. Remarks: A document deletes its internal records as undo and redo are performed. CRhinoUndoRecord copies the values it reports, so an instance stays valid after the document's history changes. Once the history has changed, the value returned by SerialNumber() may no longer identify a record in that history. See Also: CRhinoDoc::GetUndoRecords CRhinoDoc::GetRedoRecords
| CRhinoUndoRecord::CRhinoUndoRecord | ( | ) |
| CRhinoUndoRecord::~CRhinoUndoRecord | ( | ) |
| CRhinoUndoRecord::CRhinoUndoRecord | ( | const CRhinoUndoRecord & | ) |
| const wchar_t* CRhinoUndoRecord::Description | ( | ) | const |
Returns: The name of the command that created the undoable events, or a description of what created them when they did not happen in a command. Never nullptr.
| bool CRhinoUndoRecord::IsSet | ( | ) | const |
Returns: True if this record has a nonzero serial number.
| CRhinoUndoRecord& CRhinoUndoRecord::operator= | ( | const CRhinoUndoRecord & | ) |
| unsigned int CRhinoUndoRecord::SerialNumber | ( | ) | const |
Returns: The runtime serial number Rhino assigned to this undo event, or zero when this record is not set. Remarks: Pass this value to CRhinoDoc::UndoTo() or CRhinoDoc::RedoTo() to unwind a document's history through this record.
|
friend |
|
static |
A record with a zero serial number and an empty description.
1.8.17