KVIrc
4.9.2
DeveloperAPIs
|
Treenode alias function call class. More...
#include <KviKvsTreeNodeAliasFunctionCall.h>
Public Member Functions | |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer as Alias Function Call. More... | |
virtual void | dump (const char *prefix) |
Dumps the tree. More... | |
virtual bool | evaluateReadOnly (KviKvsRunTimeContext *c, KviKvsVariant *pBuffer) |
Evaluates the script in read-only mode. More... | |
KviKvsTreeNodeAliasFunctionCall (const QChar *pLocation, const QString &szAliasName, KviKvsTreeNodeDataList *pParams) | |
Constructs the treenode alias function call object. More... | |
~KviKvsTreeNodeAliasFunctionCall () | |
Destroys the treenode alias function call object. More... | |
Public Member Functions inherited from KviKvsTreeNodeFunctionCall | |
virtual bool | canEvaluateToObjectReference () |
virtual bool | isFunctionCall () |
KviKvsTreeNodeFunctionCall (const QChar *pLocation, const QString &szFunctionName, KviKvsTreeNodeDataList *pParams) | |
~KviKvsTreeNodeFunctionCall () | |
Public Member Functions inherited from KviKvsTreeNodeData | |
virtual bool | canEvaluateInObjectScope () |
virtual bool | convertStringConstantToNumeric () |
const QChar * | endingLocation () |
virtual bool | evaluateReadOnlyInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c, KviKvsVariant *pBuffer) |
virtual KviKvsRWEvaluationResult * | evaluateReadWrite (KviKvsRunTimeContext *c) |
virtual KviKvsRWEvaluationResult * | evaluateReadWriteInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c) |
virtual bool | isReadOnly () |
KviKvsTreeNodeData (const QChar *pLocation) | |
void | setEndingLocation (const QChar *pEndingLocation) |
~KviKvsTreeNodeData () | |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from KviKvsTreeNode | |
void | setLocation (const QChar *pLocation) |
Sets the location char. More... | |
Protected Attributes inherited from KviKvsTreeNodeFunctionCall | |
KviKvsTreeNodeDataList * | m_pParams |
QString | m_szFunctionName |
Protected Attributes inherited from KviKvsTreeNodeData | |
const QChar * | m_pEndingLocation |
Protected Attributes inherited from KviKvsTreeNode | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Treenode alias function call class.
KviKvsTreeNodeAliasFunctionCall::KviKvsTreeNodeAliasFunctionCall | ( | const QChar * | pLocation, |
const QString & | szAliasName, | ||
KviKvsTreeNodeDataList * | pParams | ||
) |
Constructs the treenode alias function call object.
pLocation | The location char of the instruction |
szAliasName | The name of the alias |
pParams | The parameters' list |
|
default |
Destroys the treenode alias function call object.
|
virtual |
Sets the buffer as Alias Function Call.
szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeFunctionCall.
References KviKvsTreeNodeFunctionCall::m_szFunctionName.
|
virtual |
Dumps the tree.
prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeFunctionCall.
References KviKvsTreeNodeDataList::dump(), KviKvsTreeNodeFunctionCall::m_pParams, and KviKvsTreeNodeFunctionCall::m_szFunctionName.
|
virtual |
Evaluates the script in read-only mode.
c | The context where the alias is bound to |
pBuffer | The data buffer |
Reimplemented from KviKvsTreeNodeData.
References __tr2qs_ctx(), KviMemory::copy(), KviKvsRunTimeContext::error(), KviKvsTreeNodeDataList::evaluate(), KviKvsAliasManager::instance(), l, KviKvsAliasManager::lookup(), KviKvsTreeNodeFunctionCall::m_pParams, KviKvsTreeNodeFunctionCall::m_szFunctionName, KviKvsScript::PreserveParams, KviKvsScript::run(), s, KviKvsVariant::setNothing(), and KviKvsRunTimeContext::window().