KVIrc 5.2.0
Developer APIs
Public Member Functions | Public Attributes | List of all members
KviKvsTreeNodeSwitchList Class Reference

#include <KviKvsTreeNodeSwitchList.h>

+ Inheritance diagram for KviKvsTreeNodeSwitchList:

Public Member Functions

void addLong (const QString &szLongKey, KviKvsTreeNodeData *p)
 
void addShort (int iShortKey, KviKvsTreeNodeData *p)
 
virtual void contextDescription (QString &szBuffer)
 Sets the buffer.
 
virtual void dump (const char *prefix)
 Dumps the tree.
 
bool evaluate (KviKvsRunTimeContext *c, KviKvsSwitchList *pSwList)
 
KviKvsTreeNodeDatagetStandardRebindingSwitch ()
 
bool isEmpty ()
 
 KviKvsTreeNodeSwitchList (const QChar *pLocation)
 
 ~KviKvsTreeNodeSwitchList ()
 
- 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.
 

Public Attributes

KviPointerHashTable< QString, KviKvsTreeNodeData > * m_pLongSwitchDict
 
KviPointerHashTable< int, KviKvsTreeNodeData > * m_pShortSwitchDict
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ KviKvsTreeNodeSwitchList()

KviKvsTreeNodeSwitchList::KviKvsTreeNodeSwitchList ( const QChar *  pLocation)

◆ ~KviKvsTreeNodeSwitchList()

KviKvsTreeNodeSwitchList::~KviKvsTreeNodeSwitchList ( )

Member Function Documentation

◆ addLong()

void KviKvsTreeNodeSwitchList::addLong ( const QString &  szLongKey,
KviKvsTreeNodeData p 
)

◆ addShort()

void KviKvsTreeNodeSwitchList::addShort ( int  iShortKey,
KviKvsTreeNodeData p 
)

◆ contextDescription()

void KviKvsTreeNodeSwitchList::contextDescription ( QString &  szBuffer)
virtual

Sets the buffer.

Parameters
szBufferThe buffer :)
Returns
void

Implements KviKvsTreeNode.

References szBuffer.

◆ dump()

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

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Implements KviKvsTreeNode.

References KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), m_pLongSwitchDict, and m_pShortSwitchDict.

Referenced by KviKvsTreeNodeCommand::dumpSwitchList().

◆ evaluate()

bool KviKvsTreeNodeSwitchList::evaluate ( KviKvsRunTimeContext c,
KviKvsSwitchList pSwList 
)

◆ getStandardRebindingSwitch()

KviKvsTreeNodeData * KviKvsTreeNodeSwitchList::getStandardRebindingSwitch ( )

◆ isEmpty()

bool KviKvsTreeNodeSwitchList::isEmpty ( )
inline

Member Data Documentation

◆ m_pLongSwitchDict

KviPointerHashTable<QString, KviKvsTreeNodeData>* KviKvsTreeNodeSwitchList::m_pLongSwitchDict

◆ m_pShortSwitchDict

KviPointerHashTable<int, KviKvsTreeNodeData>* KviKvsTreeNodeSwitchList::m_pShortSwitchDict

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