KVIrc
4.9.2
DeveloperAPIs
|
#include <KviKvsTreeNodeOperation.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... | |
virtual bool | execute (KviKvsRunTimeContext *c) |
This is the main entry point to the tree visit. More... | |
KviKvsTreeNodeOperationStringAppend (const QChar *pLocation, KviKvsTreeNodeData *pRightSide) | |
~KviKvsTreeNodeOperationStringAppend () | |
Public Member Functions inherited from KviKvsTreeNodeOperation | |
KviKvsTreeNodeOperation (const QChar *pLocation) | |
void | setTargetVariableReference (KviKvsTreeNodeData *r) |
~KviKvsTreeNodeOperation () | |
Public Member Functions inherited from KviKvsTreeNodeInstruction | |
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 | |
KviKvsTreeNodeData * | m_pRightSide |
Protected Attributes inherited from KviKvsTreeNodeOperation | |
KviKvsTreeNodeData * | m_pTargetData |
Protected Attributes inherited from KviKvsTreeNode | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
Protected Member Functions inherited from KviKvsTreeNode | |
void | setLocation (const QChar *pLocation) |
Sets the location char. More... | |
KviKvsTreeNodeOperationStringAppend::KviKvsTreeNodeOperationStringAppend | ( | const QChar * | pLocation, |
KviKvsTreeNodeData * | pRightSide | ||
) |
References m_pRightSide, and KviKvsTreeNode::setParent().
KviKvsTreeNodeOperationStringAppend::~KviKvsTreeNodeOperationStringAppend | ( | ) |
References m_pRightSide.
|
virtual |
Sets the buffer as Instruction.
szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeOperation.
|
virtual |
Dumps the instructions tree.
prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeOperation.
References KviKvsTreeNodeData::dump(), m_pRightSide, and KviKvsTreeNodeOperation::m_pTargetData.
|
virtual |
This is the main entry point to the tree visit.
It returns false when the tree visiting has to be stopped and returns true when it has been successfully completed. A false return value may signal an error but is also used by break, halt, return and similar. The error condition is signaled by KviKvsRunTimeContext::error().
c | The source context |
Implements KviKvsTreeNodeInstruction.
References KviKvsVariant::appendAsString(), KviKvsVariant::asString(), KviKvsTreeNodeData::evaluateReadOnly(), KviKvsTreeNodeData::evaluateReadWrite(), m_pRightSide, KviKvsTreeNodeOperation::m_pTargetData, KviKvsRWEvaluationResult::result(), KviKvsVariant::setString(), and v.
|
protected |
Referenced by dump(), execute(), KviKvsTreeNodeOperationStringAppend(), and ~KviKvsTreeNodeOperationStringAppend().