Lomse library. API documentation  0.30.0
DocCmdSimple Class Reference

#include <lomse_command.h>

Inheritance diagram for DocCmdSimple:
DocCommand CmdAddChordNote CmdAddNoteRest CmdAddTie CmdAddTuplet CmdBreakBeam CmdChangeAccidentals CmdChangeAttribute CmdChangeDots CmdCursor CmdDelete CmdInsert CmdJoinBeam CmdMoveObjectPoint CmdSelection CmdTranspose

Detailed Description

Abstract class, base for all simple (atomic) commands.

Public Member Functions

virtual ~DocCmdSimple ()
 
bool is_composite () override
 
- Public Member Functions inherited from DocCommand
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

- Public Types inherited from DocCommand
enum  ECmdCursorPolicy
 
enum  ECmdUndoPolicy
 
enum  ECmdSelectionPolicy
 

Constructor & Destructor Documentation

◆ ~DocCmdSimple()

virtual DocCmdSimple::~DocCmdSimple ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ is_composite()

bool DocCmdSimple::is_composite ( )
inlineoverridevirtual

Returns true if the command is composite.

Implements DocCommand.