KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | List of all members
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. 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 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. More...
 
const QChar * location ()
 Returns the location char. More...
 
KviKvsTreeNodeparent ()
 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
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 ( 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 ( )
default

Destroys the treenode alias function call object.

Member Function Documentation

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.

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.

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

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