KVIrc
4.9.2
DeveloperAPIs
|
#include <KviKvsTreeNodeCommandWithParameters.h>
Public Member Functions | |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer as Instruction. More... | |
virtual void | dump (const char *prefix) |
Dumps the instructions tree. More... | |
void | dumpParameterList (const char *prefix) |
KviKvsTreeNodeCommandWithParameters (const QChar *pLocation, const QString &szCmdName, KviKvsTreeNodeDataList *params) | |
KviKvsTreeNodeDataList * | params () |
~KviKvsTreeNodeCommandWithParameters () | |
Public Member Functions inherited from KviKvsTreeNodeCommand | |
const QString & | commandName () |
void | dumpSwitchList (const char *prefix) |
KviKvsTreeNodeCommand (const QChar *pLocation, const QString &szCmdName) | |
~KviKvsTreeNodeCommand () | |
Public Member Functions inherited from KviKvsTreeNodeInstruction | |
virtual bool | execute (KviKvsRunTimeContext *c)=0 |
This is the main entry point to the tree visit. More... | |
KviKvsTreeNodeInstruction (const QChar *pLocation) | |
Constructs the treenode instruction object. More... | |
~KviKvsTreeNodeInstruction () | |
Destroys the treenode instruction object. More... | |
Public Member Functions inherited from KviKvsTreeNode | |
KviKvsTreeNode (const QChar *pLocation) | |
Constructs the treenode object. More... | |
const QChar * | location () |
Returns the location char. More... | |
KviKvsTreeNode * | parent () |
Returns the parent object. More... | |
void | setParent (KviKvsTreeNode *p) |
Sets the parent object. More... | |
virtual | ~KviKvsTreeNode () |
Destroys the treenode object. More... | |
Protected Attributes | |
KviKvsTreeNodeDataList * | m_pParams |
Protected Attributes inherited from KviKvsTreeNodeCommand | |
KviKvsTreeNodeSwitchList * | m_pSwitches |
QString | m_szCmdName |
Protected Attributes inherited from KviKvsTreeNode | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
Protected Member Functions inherited from KviKvsTreeNodeCommand | |
void | setSwitchList (KviKvsTreeNodeSwitchList *sw) |
Protected Member Functions inherited from KviKvsTreeNode | |
void | setLocation (const QChar *pLocation) |
Sets the location char. More... | |
KviKvsTreeNodeCommandWithParameters::KviKvsTreeNodeCommandWithParameters | ( | const QChar * | pLocation, |
const QString & | szCmdName, | ||
KviKvsTreeNodeDataList * | params | ||
) |
References m_pParams, params(), and KviKvsTreeNode::setParent().
KviKvsTreeNodeCommandWithParameters::~KviKvsTreeNodeCommandWithParameters | ( | ) |
References m_pParams.
|
virtual |
Sets the buffer as Instruction.
szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeCommand.
Reimplemented in KviKvsTreeNodeAliasSimpleCommand, KviKvsTreeNodeCoreCallbackCommand, KviKvsTreeNodeModuleCallbackCommand, KviKvsTreeNodeCallbackCommand, KviKvsTreeNodeCoreSimpleCommand, KviKvsTreeNodeModuleSimpleCommand, and KviKvsTreeNodeSimpleCommand.
References KviKvsTreeNodeCommand::m_szCmdName.
|
virtual |
Dumps the instructions tree.
prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeCommand.
Reimplemented in KviKvsTreeNodeAliasSimpleCommand, KviKvsTreeNodeCoreCallbackCommand, KviKvsTreeNodeModuleCallbackCommand, KviKvsTreeNodeCallbackCommand, KviKvsTreeNodeCoreSimpleCommand, KviKvsTreeNodeModuleSimpleCommand, and KviKvsTreeNodeSimpleCommand.
References dumpParameterList(), KviKvsTreeNodeCommand::dumpSwitchList(), and KviKvsTreeNodeCommand::m_szCmdName.
void KviKvsTreeNodeCommandWithParameters::dumpParameterList | ( | const char * | prefix | ) |
References KviKvsTreeNodeDataList::dump(), and m_pParams.
Referenced by KviKvsTreeNodeSimpleCommand::dump(), KviKvsTreeNodeCallbackCommand::dump(), KviKvsTreeNodeCoreSimpleCommand::dump(), KviKvsTreeNodeModuleSimpleCommand::dump(), dump(), KviKvsTreeNodeModuleCallbackCommand::dump(), KviKvsTreeNodeCoreCallbackCommand::dump(), and KviKvsTreeNodeAliasSimpleCommand::dump().
|
inline |
Referenced by KviKvsTreeNodeCommandWithParameters().
|
protected |
Referenced by dumpParameterList(), KviKvsTreeNodeModuleSimpleCommand::execute(), KviKvsTreeNodeCoreSimpleCommand::execute(), KviKvsTreeNodeModuleCallbackCommand::execute(), KviKvsTreeNodeCoreCallbackCommand::execute(), KviKvsTreeNodeAliasSimpleCommand::execute(), KviKvsTreeNodeCommandWithParameters(), and ~KviKvsTreeNodeCommandWithParameters().