KVIrc 5.2.6
Developer APIs
KviKvsTreeNodeAliasFunctionCall Class Reference

Treenode alias function call class. More...

#include <KviKvsTreeNodeAliasFunctionCall.h>

+ Inheritance diagram for KviKvsTreeNodeAliasFunctionCall:

Public Member Functions

virtual void contextDescription (QString &szBuffer)
 Sets the buffer as Alias Function Call.
 
virtual void dump (const char *prefix)
 Dumps the tree.
 
virtual bool evaluateReadOnly (KviKvsRunTimeContext *c, KviKvsVariant *pBuffer)
 Evaluates the script in read-only mode.
 
 KviKvsTreeNodeAliasFunctionCall (const QChar *pLocation, const QString &szAliasName, KviKvsTreeNodeDataList *pParams)
 Constructs the treenode alias function call object.
 
 ~KviKvsTreeNodeAliasFunctionCall ()
 Destroys the treenode alias function call object.
 
- 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 KviKvsRWEvaluationResultevaluateReadWrite (KviKvsRunTimeContext *c)
 
virtual KviKvsRWEvaluationResultevaluateReadWriteInObjectScope (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.
 
const QChar * location ()
 Returns the location char.
 
KviKvsTreeNodeparent ()
 Returns the parent object.
 
void setParent (KviKvsTreeNode *p)
 Sets the parent object.
 
virtual ~KviKvsTreeNode ()
 Destroys the treenode object.
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsTreeNode
void setLocation (const QChar *pLocation)
 Sets the location char.
 
- Protected Attributes inherited from KviKvsTreeNodeFunctionCall
KviKvsTreeNodeDataListm_pParams
 
QString m_szFunctionName
 
- Protected Attributes inherited from KviKvsTreeNodeData
const QChar * m_pEndingLocation
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Detailed Description

Treenode alias function call class.

Constructor & Destructor Documentation

◆ KviKvsTreeNodeAliasFunctionCall()

KviKvsTreeNodeAliasFunctionCall::KviKvsTreeNodeAliasFunctionCall ( const QChar * pLocation,
const QString & szAliasName,
KviKvsTreeNodeDataList * pParams )

Constructs the treenode alias function call object.

Parameters
pLocationThe location char of the instruction
szAliasNameThe name of the alias
pParamsThe parameters' list
Returns
KviKvsTreeNodeAliasFunctionCall

◆ ~KviKvsTreeNodeAliasFunctionCall()

KviKvsTreeNodeAliasFunctionCall::~KviKvsTreeNodeAliasFunctionCall ( )
default

Destroys the treenode alias function call object.

Member Function Documentation

◆ contextDescription()

void KviKvsTreeNodeAliasFunctionCall::contextDescription ( QString & szBuffer)
virtual

Sets the buffer as Alias Function Call.

Parameters
szBufferThe buffer :)
Returns
void

Reimplemented from KviKvsTreeNodeFunctionCall.

References KviKvsTreeNodeFunctionCall::m_szFunctionName, and szBuffer.

◆ dump()

void KviKvsTreeNodeAliasFunctionCall::dump ( const char * prefix)
virtual

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Reimplemented from KviKvsTreeNodeFunctionCall.

References KviKvsTreeNodeDataList::dump(), KviKvsTreeNodeFunctionCall::m_pParams, and KviKvsTreeNodeFunctionCall::m_szFunctionName.

◆ evaluateReadOnly()

bool KviKvsTreeNodeAliasFunctionCall::evaluateReadOnly ( KviKvsRunTimeContext * c,
KviKvsVariant * pBuffer )
virtual

The documentation for this class was generated from the following files: