![]() |
Lomse library. API documentation
0.30.0
|
#include <lomse_command.h>
Abstract class, base for all insertion commands.
Public Member Functions | |
ImoId | last_inserted_id () |
![]() | |
virtual | ~DocCmdSimple () |
bool | is_composite () override |
![]() | |
virtual | ~DocCommand () |
virtual int | get_cursor_update_policy ()=0 |
virtual int | get_undo_policy ()=0 |
virtual int | get_selection_update_policy ()=0 |
std::string | get_name () |
bool | is_reversible () |
bool | is_recordable () |
std::string | get_error () |
Additional Inherited Members | |
![]() | |
enum | ECmdCursorPolicy |
enum | ECmdUndoPolicy |
enum | ECmdSelectionPolicy |
|
inline |
Once the command is executed, invoking this method returns the ID assigned to the new inserted object. If the command inserts several objects this method only returns the ID of the last inserted object.