KVIrc 5.2.6
Developer APIs
KviKvsTreeNodeCommand Class Reference

#include <KviKvsTreeNodeCommand.h>

+ Inheritance diagram for KviKvsTreeNodeCommand:

Public Member Functions

const QString & commandName ()
 
virtual void contextDescription (QString &szBuffer)
 Sets the buffer as Instruction.
 
virtual void dump (const char *prefix)
 Dumps the instructions tree.
 
void dumpSwitchList (const char *prefix)
 
 KviKvsTreeNodeCommand (const QChar *pLocation, const QString &szCmdName)
 
 ~KviKvsTreeNodeCommand ()
 
- Public Member Functions inherited from KviKvsTreeNodeInstruction
virtual bool execute (KviKvsRunTimeContext *c)=0
 This is the main entry point to the tree visit.
 
 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.
 

Protected Member Functions

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

Protected Attributes

KviKvsTreeNodeSwitchListm_pSwitches
 
QString m_szCmdName
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Friends

class KviKvsParser
 

Constructor & Destructor Documentation

◆ KviKvsTreeNodeCommand()

KviKvsTreeNodeCommand::KviKvsTreeNodeCommand ( const QChar * pLocation,
const QString & szCmdName )

References m_pSwitches, and m_szCmdName.

◆ ~KviKvsTreeNodeCommand()

KviKvsTreeNodeCommand::~KviKvsTreeNodeCommand ( )

References m_pSwitches.

Member Function Documentation

◆ commandName()

const QString & KviKvsTreeNodeCommand::commandName ( )
inline

◆ contextDescription()

◆ dump()

◆ dumpSwitchList()

◆ setSwitchList()

void KviKvsTreeNodeCommand::setSwitchList ( KviKvsTreeNodeSwitchList * sw)
protected

Friends And Related Symbol Documentation

◆ KviKvsParser

friend class KviKvsParser
friend

Member Data Documentation

◆ m_pSwitches

◆ m_szCmdName


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