Lomse library. API documentation
0.30.0
|
#include <lomse_command.h>
Abstract class, base for all composite commands.
Public Member Functions | |
DocCmdComposite (const std::string &name) | |
virtual | ~DocCmdComposite () |
void | add_child_command (DocCommand *pCmd) |
int | get_cursor_update_policy () override |
int | get_undo_policy () override |
int | get_selection_update_policy () override |
bool | is_composite () override |
void | mark_as_no_reversible () |
void | mark_as_no_recordable () |
void | mark_as_target_set_in_constructor () |
Public Member Functions inherited from DocCommand | |
virtual | ~DocCommand () |
std::string | get_name () |
bool | is_reversible () |
bool | is_recordable () |
std::string | get_error () |
Additional Inherited Members | |
Public Types inherited from DocCommand | |
enum | ECmdCursorPolicy |
enum | ECmdUndoPolicy |
enum | ECmdSelectionPolicy |
DocCmdComposite::DocCmdComposite | ( | const std::string & | name | ) |
Constructor.
|
virtual |
Destructor.
void DocCmdComposite::add_child_command | ( | DocCommand * | pCmd | ) |
Add a child command.
|
inlineoverridevirtual |
Returns a value from ECmdCursorPolicy that indicates the update policy followed by this command.
Implements DocCommand.
|
inlineoverridevirtual |
Returns a value from ECmdSelectionPolicy that indicates the undo policy followed by this command.
Implements DocCommand.
|
inlineoverridevirtual |
Returns a value from ECmdUndoPolicy that indicates the undo policy followed by this command.
Implements DocCommand.
|
inlineoverridevirtual |
Returns true if the command is composite.
Implements DocCommand.
|
inline |
Change default settings for this command
|
inline |
Change default settings for this command
|
inline |
Change default settings for this command