KVIrc 5.2.4
Developer APIs
Public Member Functions | Private Attributes | List of all members
KviKvsTreeNodeSpecialCommandForeach Class Reference

#include <KviKvsTreeNodeSpecialCommandForeach.h>

+ Inheritance diagram for KviKvsTreeNodeSpecialCommandForeach:

Public Member Functions

virtual void contextDescription (QString &szBuffer)
 Sets the buffer as Instruction.
 
virtual void dump (const char *prefix)
 Dumps the instructions tree.
 
virtual bool execute (KviKvsRunTimeContext *c)
 This is the main entry point to the tree visit.
 
 KviKvsTreeNodeSpecialCommandForeach (const QChar *pLocation, KviKvsTreeNodeData *pVar, KviKvsTreeNodeDataList *pArgs, KviKvsTreeNodeInstruction *pLoop)
 
 ~KviKvsTreeNodeSpecialCommandForeach ()
 
- Public Member Functions inherited from KviKvsTreeNodeSpecialCommand
 KviKvsTreeNodeSpecialCommand (const QChar *pLocation, const QString &szCmdName)
 
 ~KviKvsTreeNodeSpecialCommand ()
 
- Public Member Functions inherited from KviKvsTreeNodeCommand
const QString & commandName ()
 
void dumpSwitchList (const char *prefix)
 
 KviKvsTreeNodeCommand (const QChar *pLocation, const QString &szCmdName)
 
 ~KviKvsTreeNodeCommand ()
 
- Public Member Functions inherited from KviKvsTreeNodeInstruction
 KviKvsTreeNodeInstruction (const QChar *pLocation)
 Constructs the treenode instruction object.
 
 ~KviKvsTreeNodeInstruction ()
 Destroys the treenode instruction object.
 
- 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.
 

Private Attributes

KviKvsTreeNodeDataListm_pIterationData
 
KviKvsTreeNodeDatam_pIterationVariable
 
KviKvsTreeNodeInstructionm_pLoop
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsTreeNodeCommand
void setSwitchList (KviKvsTreeNodeSwitchList *sw)
 
- Protected Member Functions inherited from KviKvsTreeNode
void setLocation (const QChar *pLocation)
 Sets the location char.
 
- Protected Attributes inherited from KviKvsTreeNodeCommand
KviKvsTreeNodeSwitchListm_pSwitches
 
QString m_szCmdName
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Constructor & Destructor Documentation

◆ KviKvsTreeNodeSpecialCommandForeach()

KviKvsTreeNodeSpecialCommandForeach::KviKvsTreeNodeSpecialCommandForeach ( const QChar *  pLocation,
KviKvsTreeNodeData pVar,
KviKvsTreeNodeDataList pArgs,
KviKvsTreeNodeInstruction pLoop 
)

◆ ~KviKvsTreeNodeSpecialCommandForeach()

KviKvsTreeNodeSpecialCommandForeach::~KviKvsTreeNodeSpecialCommandForeach ( )

Member Function Documentation

◆ contextDescription()

void KviKvsTreeNodeSpecialCommandForeach::contextDescription ( QString &  szBuffer)
virtual

Sets the buffer as Instruction.

Parameters
szBufferThe buffer :)
Returns
void

Reimplemented from KviKvsTreeNodeSpecialCommand.

References szBuffer.

◆ dump()

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

Dumps the instructions tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Reimplemented from KviKvsTreeNodeSpecialCommand.

References KviKvsTreeNodeData::dump(), KviKvsTreeNodeDataList::dump(), KviKvsTreeNodeInstruction::dump(), m_pIterationData, m_pIterationVariable, and m_pLoop.

◆ execute()

bool KviKvsTreeNodeSpecialCommandForeach::execute ( KviKvsRunTimeContext c)
virtual

Member Data Documentation

◆ m_pIterationData

KviKvsTreeNodeDataList* KviKvsTreeNodeSpecialCommandForeach::m_pIterationData
private

◆ m_pIterationVariable

KviKvsTreeNodeData* KviKvsTreeNodeSpecialCommandForeach::m_pIterationVariable
private

◆ m_pLoop

KviKvsTreeNodeInstruction* KviKvsTreeNodeSpecialCommandForeach::m_pLoop
private

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