![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviKvsTreeNodeInstructionBlock.h>
Public Member Functions | |
void | addInstruction (KviKvsTreeNodeInstruction *i) |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer as Instruction. | |
virtual void | dump (const char *prefix) |
Dumps the instructions tree. | |
virtual bool | execute (KviKvsRunTimeContext *c) |
This is the main entry point to the tree visit. | |
unsigned int | instructionCount () |
KviKvsTreeNodeInstructionBlock (const QChar *pLocation) | |
KviKvsTreeNodeInstruction * | releaseFirst () |
~KviKvsTreeNodeInstructionBlock () | |
![]() | |
KviKvsTreeNodeInstruction (const QChar *pLocation) | |
Constructs the treenode instruction object. | |
~KviKvsTreeNodeInstruction () | |
Destroys the treenode instruction object. | |
![]() | |
KviKvsTreeNode (const QChar *pLocation) | |
Constructs the treenode object. | |
const QChar * | location () |
Returns the location char. | |
KviKvsTreeNode * | parent () |
Returns the parent object. | |
void | setParent (KviKvsTreeNode *p) |
Sets the parent object. | |
virtual | ~KviKvsTreeNode () |
Destroys the treenode object. | |
Protected Attributes | |
KviPointerList< KviKvsTreeNodeInstruction > * | m_pInstructionList |
![]() | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
![]() | |
void | setLocation (const QChar *pLocation) |
Sets the location char. | |
KviKvsTreeNodeInstructionBlock::KviKvsTreeNodeInstructionBlock | ( | const QChar * | pLocation | ) |
References m_pInstructionList, and KviPointerList< T >::setAutoDelete().
KviKvsTreeNodeInstructionBlock::~KviKvsTreeNodeInstructionBlock | ( | ) |
References m_pInstructionList.
void KviKvsTreeNodeInstructionBlock::addInstruction | ( | KviKvsTreeNodeInstruction * | i | ) |
References KviPointerList< T >::append(), i, and m_pInstructionList.
Referenced by KviKvsParser::parseInstructionBlock().
|
virtual |
Sets the buffer as Instruction.
szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeInstruction.
References szBuffer.
|
virtual |
Dumps the instructions tree.
prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeInstruction.
References KviPointerList< T >::first(), i, m_pInstructionList, and KviPointerList< T >::next().
|
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 KviPointerListIterator< T >::current(), i, and m_pInstructionList.
|
inline |
References KviPointerList< T >::count().
Referenced by KviKvsParser::parseInstructionBlock().
KviKvsTreeNodeInstruction * KviKvsTreeNodeInstructionBlock::releaseFirst | ( | ) |
References KviPointerList< T >::first(), i, m_pInstructionList, KviPointerList< T >::removeFirst(), and KviPointerList< T >::setAutoDelete().
Referenced by KviKvsParser::parseInstructionBlock().
|
protected |
Referenced by addInstruction(), dump(), execute(), KviKvsTreeNodeInstructionBlock(), releaseFirst(), and ~KviKvsTreeNodeInstructionBlock().