AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::UndoTransaction类 参考

Undo/redo transaction. 更多...

#include <APIUndoTransaction.h>

Public 成员函数

void SetName (const String &strName)
 
String GetName () const
 
bool IsStarted () const
 
void Start ()
 
int Commit ()
 
void Abort ()
 
void SetUndoable (bool bEnable)
 

详细描述

Undo/redo transaction.

TODO:

成员函数说明

void AnyCAD::API::UndoTransaction::Abort ( )

Abort the transaction

int AnyCAD::API::UndoTransaction::Commit ( )

Commit the transaction

String AnyCAD::API::UndoTransaction::GetName ( ) const

Get the name

返回
the name
bool AnyCAD::API::UndoTransaction::IsStarted ( ) const

test if started.

void AnyCAD::API::UndoTransaction::SetName ( const String strName)

Set the name

参数
strNamethe name
void AnyCAD::API::UndoTransaction::SetUndoable ( bool  bEnable)

Set if the transaction is able be undo. If true, it's added to the undo list.

参数
bEnablethe transaction can be undo.
void AnyCAD::API::UndoTransaction::Start ( )

Start the transaction


该类的文档由以下文件生成: