载入中...
搜索中...
未找到
eve::editor::IntFieldEditCommand类 参考final
Reversible edits to any target exposing IIntFieldTarget. 更多...
#include <EditCommand.h>
类 eve::editor::IntFieldEditCommand 继承关系图:
Public 成员函数 | |
| IntFieldEditCommand (std::string name, IEditableTarget *target) | |
| Int field edit command. | |
| const std::string & | name () const override |
| Name. | |
| bool | record (int x, int y, int after) |
| Record. | |
| int | changeCount () const |
| Change count. | |
| bool | apply () override |
| Applies . | |
| void | revert () override |
| Revert. | |
| std::unique_ptr< IEditCommand > | clone () const override |
| Deep copy. @ownership Caller deletes. | |
| bool | mergeWith (const IEditCommand &later) override |
| Merge with. | |
| EditRegion | dirtyRegion () const override |
| Dirty region. | |
Public 成员函数 继承自 eve::editor::IEditCommand | |
| virtual | ~IEditCommand ()=default |
| Releases IEditCommand resources. | |
详细描述
Reversible edits to any target exposing IIntFieldTarget.
在文件 EditCommand.h 第 46 行定义.
构造及析构函数说明
◆ IntFieldEditCommand()
| eve::editor::IntFieldEditCommand::IntFieldEditCommand | ( | std::string | name, |
| IEditableTarget * | target | ||
| ) |
Int field edit command.
在文件 EditCommand.cpp 第 7 行定义.
成员函数说明
◆ apply()
|
overridevirtual |
◆ changeCount()
|
inline |
Change count.
在文件 EditCommand.h 第 55 行定义.
◆ clone()
|
overridevirtual |
◆ dirtyRegion()
|
inlineoverridevirtual |
◆ mergeWith()
|
overridevirtual |
Merge with.
重载 eve::editor::IEditCommand .
在文件 EditCommand.cpp 第 43 行定义.
引用了 current , 以及 eve::editing::EditRegion::include().
◆ name()
|
inlineoverridevirtual |
◆ record()
| bool eve::editor::IntFieldEditCommand::record | ( | int | x, |
| int | y, | ||
| int | after | ||
| ) |
Record.
在文件 EditCommand.cpp 第 9 行定义.
引用了 eve::editing::EditRegion::include(), eve::editing::IEditableTarget::query(), x , 以及 y.
◆ revert()
|
overridevirtual |
该类的文档由以下文件生成:
- src/modules/editor/EditCommand.h
- src/modules/editor/EditCommand.cpp
Public 成员函数 继承自