HDK
|
#include <PDG_Command.h>
Public Member Functions | |
PDG_Command () | |
virtual | ~PDG_Command () |
bool | hasDoneIt () const |
bool | hasFailed () const |
bool | result () const |
bool | doIt (PDG_GraphContext *context) |
bool | undoIt (PDG_GraphContext *context) |
virtual bool | doIt (PDG_GraphContext *context, UT_WorkBuffer &errors) |
virtual bool | undoIt (PDG_GraphContext *context, UT_WorkBuffer &errors) |
virtual bool | canDoIt () |
virtual bool | canUndoIt () |
virtual PDG_CommandType | commandType ()=0 |
virtual PDG_CommandType | baseCommandType () |
virtual void | description (UT_WorkBuffer &buffer, int depth=0) |
virtual void | fullDescription (UT_WorkBuffer &buffer) |
UT_StringHolder | timeAsString () const |
time_t | creationTime () const |
Protected Member Functions | |
virtual bool | doCommand (PDG_GraphContext *, UT_WorkBuffer &)=0 |
virtual bool | undoCommand (PDG_GraphContext *, UT_WorkBuffer &)=0 |
Definition at line 29 of file PDG_Command.h.
PDG_Command::PDG_Command | ( | ) |
|
virtual |
|
virtual |
Reimplemented in PDG_CommandChunk.
|
virtual |
Reimplemented in PDG_CommandChunk.
|
virtual |
Reimplemented in PDG_CommandChunk.
|
pure virtual |
Implemented in PDG_CommandChunk.
|
inline |
Definition at line 52 of file PDG_Command.h.
|
virtual |
Reimplemented in PDG_CommandChunk.
|
protectedpure virtual |
Implemented in PDG_CommandChunk.
bool PDG_Command::doIt | ( | PDG_GraphContext * | context | ) |
|
virtual |
|
virtual |
Reimplemented in PDG_CommandChunk.
bool PDG_Command::hasDoneIt | ( | ) | const |
bool PDG_Command::hasFailed | ( | ) | const |
|
inline |
Definition at line 38 of file PDG_Command.h.
UT_StringHolder PDG_Command::timeAsString | ( | ) | const |
|
protectedpure virtual |
Implemented in PDG_CommandChunk.
bool PDG_Command::undoIt | ( | PDG_GraphContext * | context | ) |
|
virtual |