KVIrc
4.9.2
DeveloperAPIs
|
#include <KviKvsTreeNodeDataList.h>
Public Member Functions | |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer. More... | |
virtual void | dump (const char *prefix) |
Dumps the tree. More... | |
bool | evaluate (KviKvsRunTimeContext *c, KviKvsVariantList *pBuffer) |
KviKvsTreeNodeData * | item (unsigned int uIdx) |
KviKvsTreeNodeDataList (const QChar *pLocation) | |
KviKvsTreeNodeData * | releaseFirst () |
~KviKvsTreeNodeDataList () | |
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 Member Functions | |
void | addItem (KviKvsTreeNodeData *p) |
void | prependItem (KviKvsTreeNodeData *p) |
Protected Member Functions inherited from KviKvsTreeNode | |
void | setLocation (const QChar *pLocation) |
Sets the location char. More... | |
Protected Attributes | |
KviPointerList < KviKvsTreeNodeData > * | m_pDataList |
Protected Attributes inherited from KviKvsTreeNode | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Friends | |
class | KviKvsParser |
KviKvsTreeNodeDataList::KviKvsTreeNodeDataList | ( | const QChar * | pLocation | ) |
References m_pDataList, and KviPointerList< T >::setAutoDelete().
KviKvsTreeNodeDataList::~KviKvsTreeNodeDataList | ( | ) |
References m_pDataList.
|
protected |
|
virtual |
|
virtual |
Dumps the tree.
prefix | The prefix of the instruction |
Implements KviKvsTreeNode.
References KviPointerList< T >::first(), m_pDataList, KviPointerList< T >::next(), and t().
Referenced by KviKvsTreeNodeObjectFunctionCall::dump(), KviKvsTreeNodeParameterReturn::dump(), KviKvsTreeNodeThisObjectFunctionCall::dump(), KviKvsTreeNodeModuleFunctionCall::dump(), KviKvsTreeNodeCoreFunctionCall::dump(), KviKvsTreeNodeBaseObjectFunctionCall::dump(), KviKvsTreeNodeSpecialCommandForeach::dump(), KviKvsTreeNodeAliasFunctionCall::dump(), KviKvsTreeNodeSpecialCommandClass::dump(), and KviKvsTreeNodeCommandWithParameters::dumpParameterList().
bool KviKvsTreeNodeDataList::evaluate | ( | KviKvsRunTimeContext * | c, |
KviKvsVariantList * | pBuffer | ||
) |
References KviKvsVariantList::append(), KviKvsVariantList::clear(), KviPointerListIterator< T >::current(), m_pDataList, t(), and v.
Referenced by KviKvsTreeNodeCoreFunctionCall::evaluateReadOnly(), KviKvsTreeNodeModuleFunctionCall::evaluateReadOnly(), KviKvsTreeNodeAliasFunctionCall::evaluateReadOnly(), KviKvsTreeNodeThisObjectFunctionCall::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeBaseObjectFunctionCall::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeParameterReturn::execute(), KviKvsTreeNodeModuleSimpleCommand::execute(), KviKvsTreeNodeCoreSimpleCommand::execute(), KviKvsTreeNodeModuleCallbackCommand::execute(), KviKvsTreeNodeSpecialCommandForeach::execute(), KviKvsTreeNodeCoreCallbackCommand::execute(), KviKvsTreeNodeSpecialCommandClass::execute(), and KviKvsTreeNodeAliasSimpleCommand::execute().
KviKvsTreeNodeData * KviKvsTreeNodeDataList::item | ( | unsigned int | uIdx | ) |
References KviPointerList< T >::at(), KviPointerList< T >::count(), and m_pDataList.
Referenced by KviKvsModuleCallbackCommandCall::getParameterCode().
|
protected |
References m_pDataList, KviPointerList< T >::prepend(), and KviKvsTreeNode::setParent().
KviKvsTreeNodeData * KviKvsTreeNodeDataList::releaseFirst | ( | ) |
|
friend |
|
protected |
Referenced by addItem(), dump(), evaluate(), item(), KviKvsTreeNodeDataList(), prependItem(), releaseFirst(), and ~KviKvsTreeNodeDataList().