HDK
|
#include <PDG_CommandChunk.h>
Public Member Functions | |
PDG_CommandChunk (bool is_delayed) | |
PDG_CommandChunk (bool is_delayed, const UT_StringHolder &description) | |
bool | canDoIt () override |
bool | canUndoIt () override |
void | addCommand (UT_UniquePtr< PDG_Command > cmd) |
bool | hasCommand () |
bool | isDelayed () |
PDG_CommandType | baseCommandType () override |
PDG_CommandType | commandType () override |
void | description (UT_WorkBuffer &buffer, int depth=0) override |
void | fullDescription (UT_WorkBuffer &buffer) override |
void | commands (UT_Array< PDG_Command * > &commands) const |
Public Member Functions inherited from PDG_Command | |
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) |
UT_StringHolder | timeAsString () const |
time_t | creationTime () const |
Protected Member Functions | |
bool | doCommand (PDG_GraphContext *context, UT_WorkBuffer &errors) override |
bool | undoCommand (PDG_GraphContext *context, UT_WorkBuffer &errors) override |
Protected Attributes | |
bool | myIsDelayed |
UT_StringHolder | myChunkDescription |
UT_Array< UT_UniquePtr < PDG_Command > > | myCommands |
Definition at line 24 of file PDG_CommandChunk.h.
PDG_CommandChunk::PDG_CommandChunk | ( | bool | is_delayed | ) |
PDG_CommandChunk::PDG_CommandChunk | ( | bool | is_delayed, |
const UT_StringHolder & | description | ||
) |
void PDG_CommandChunk::addCommand | ( | UT_UniquePtr< PDG_Command > | cmd | ) |
|
overridevirtual |
Reimplemented from PDG_Command.
|
overridevirtual |
Reimplemented from PDG_Command.
|
overridevirtual |
Reimplemented from PDG_Command.
void PDG_CommandChunk::commands | ( | UT_Array< PDG_Command * > & | commands | ) | const |
|
inlineoverridevirtual |
Implements PDG_Command.
Definition at line 39 of file PDG_CommandChunk.h.
|
overridevirtual |
Reimplemented from PDG_Command.
|
overrideprotectedvirtual |
Implements PDG_Command.
|
overridevirtual |
Reimplemented from PDG_Command.
bool PDG_CommandChunk::hasCommand | ( | ) |
|
inline |
Definition at line 37 of file PDG_CommandChunk.h.
|
overrideprotectedvirtual |
Implements PDG_Command.
|
protected |
Definition at line 55 of file PDG_CommandChunk.h.
|
protected |
Definition at line 56 of file PDG_CommandChunk.h.
|
protected |
Definition at line 54 of file PDG_CommandChunk.h.