KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Attributes | List of all members
KviKvsTreeNodeOperationArrayAppend Class Reference

#include <KviKvsTreeNodeOperation.h>

+ Inheritance diagram for KviKvsTreeNodeOperationArrayAppend:

Public Member Functions

virtual void contextDescription (QString &szBuffer)
 Sets the buffer as Instruction. More...
 
virtual void dump (const char *prefix)
 Dumps the instructions tree. More...
 
virtual bool execute (KviKvsRunTimeContext *c)
 This is the main entry point to the tree visit. More...
 
 KviKvsTreeNodeOperationArrayAppend (const QChar *pLocation, KviKvsTreeNodeData *pRightSide)
 
 ~KviKvsTreeNodeOperationArrayAppend ()
 
- Public Member Functions inherited from KviKvsTreeNodeOperation
 KviKvsTreeNodeOperation (const QChar *pLocation)
 
void setTargetVariableReference (KviKvsTreeNodeData *r)
 
 ~KviKvsTreeNodeOperation ()
 
- Public Member Functions inherited from KviKvsTreeNodeInstruction
 KviKvsTreeNodeInstruction (const QChar *pLocation)
 Constructs the treenode instruction object. More...
 
 ~KviKvsTreeNodeInstruction ()
 Destroys the treenode instruction object. More...
 
- 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...
 

Protected Attributes

KviKvsTreeNodeDatam_pRightSide
 
- Protected Attributes inherited from KviKvsTreeNodeOperation
KviKvsTreeNodeDatam_pTargetData
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsTreeNode
void setLocation (const QChar *pLocation)
 Sets the location char. More...
 

Constructor & Destructor Documentation

KviKvsTreeNodeOperationArrayAppend::KviKvsTreeNodeOperationArrayAppend ( const QChar *  pLocation,
KviKvsTreeNodeData pRightSide 
)
KviKvsTreeNodeOperationArrayAppend::~KviKvsTreeNodeOperationArrayAppend ( )

References m_pRightSide.

Member Function Documentation

void KviKvsTreeNodeOperationArrayAppend::contextDescription ( QString &  szBuffer)
virtual

Sets the buffer as Instruction.

Parameters
szBufferThe buffer :)
Returns
void

Reimplemented from KviKvsTreeNodeOperation.

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

Dumps the instructions tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Reimplemented from KviKvsTreeNodeOperation.

References KviKvsTreeNodeData::dump(), m_pRightSide, and KviKvsTreeNodeOperation::m_pTargetData.

bool KviKvsTreeNodeOperationArrayAppend::execute ( KviKvsRunTimeContext c)
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().

Parameters
cThe source context
Returns
bool

Implements KviKvsTreeNodeInstruction.

References a, KviKvsVariantData::Array, KviKvsVariant::array(), KviKvsArray::at(), KviKvsVariant::convertToArray(), KviKvsHash::dict(), KviKvsTreeNodeData::evaluateReadOnly(), KviKvsTreeNodeData::evaluateReadWrite(), KviKvsVariantData::Hash, KviKvsVariant::hash(), m_pRightSide, KviKvsTreeNodeOperation::m_pTargetData, KviKvsVariantData::Nothing, KviKvsRWEvaluationResult::result(), s, KviKvsArray::set(), KviKvsArray::size(), KviKvsVariant::type(), and v.

Member Data Documentation

KviKvsTreeNodeData* KviKvsTreeNodeOperationArrayAppend::m_pRightSide
protected

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