![]() |
KVIrc
4.9.2
DeveloperAPIs
|
#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. More... | |
| virtual void | dump (const char *prefix) |
| Dumps the tree. More... | |
| bool | evaluate (KviKvsRunTimeContext *c, KviKvsSwitchList *pSwList) |
| KviKvsTreeNodeData * | getStandardRebindingSwitch () |
| bool | isEmpty () |
| KviKvsTreeNodeSwitchList (const QChar *pLocation) | |
| ~KviKvsTreeNodeSwitchList () | |
Public Member Functions inherited from KviKvsTreeNode | |
| KviKvsTreeNode (const QChar *pLocation) | |
| Constructs the treenode object. More... | |
| const QChar * | location () |
| Returns the location char. More... | |
| KviKvsTreeNode * | parent () |
| Returns the parent object. More... | |
| void | setParent (KviKvsTreeNode *p) |
| Sets the parent object. More... | |
| virtual | ~KviKvsTreeNode () |
| Destroys the treenode object. More... | |
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. More... | |
Protected Attributes inherited from KviKvsTreeNode | |
| const QChar * | m_pLocation |
| KviKvsTreeNode * | m_pParent |
| KviKvsTreeNodeSwitchList::KviKvsTreeNodeSwitchList | ( | const QChar * | pLocation | ) |
References m_pLongSwitchDict, and m_pShortSwitchDict.
| KviKvsTreeNodeSwitchList::~KviKvsTreeNodeSwitchList | ( | ) |
References m_pLongSwitchDict, and m_pShortSwitchDict.
| void KviKvsTreeNodeSwitchList::addLong | ( | const QString & | szLongKey, |
| KviKvsTreeNodeData * | p | ||
| ) |
| void KviKvsTreeNodeSwitchList::addShort | ( | int | iShortKey, |
| KviKvsTreeNodeData * | p | ||
| ) |
|
virtual |
|
virtual |
Dumps the tree.
| prefix | The prefix of the instruction |
Implements KviKvsTreeNode.
References c, KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), KviKvsTreeNodeData::dump(), m_pLongSwitchDict, and m_pShortSwitchDict.
Referenced by KviKvsTreeNodeCommand::dumpSwitchList().
| bool KviKvsTreeNodeSwitchList::evaluate | ( | KviKvsRunTimeContext * | c, |
| KviKvsSwitchList * | pSwList | ||
| ) |
References KviKvsSwitchList::addLong(), KviKvsSwitchList::addShort(), KviKvsSwitchList::clear(), KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), d, m_pLongSwitchDict, m_pShortSwitchDict, and v.
Referenced by KviKvsTreeNodeCoreSimpleCommand::execute(), KviKvsTreeNodeModuleSimpleCommand::execute(), KviKvsTreeNodeModuleCallbackCommand::execute(), KviKvsTreeNodeSpecialCommandForeach::execute(), KviKvsTreeNodeCoreCallbackCommand::execute(), KviKvsTreeNodeAliasSimpleCommand::execute(), KviKvsTreeNodeSpecialCommandSwitch::execute(), and KviKvsTreeNodeSpecialCommandDefpopup::execute().
| KviKvsTreeNodeData * KviKvsTreeNodeSwitchList::getStandardRebindingSwitch | ( | ) |
|
inline |
Referenced by KviKvsParser::parseCommandSwitchList().
| KviPointerHashTable<QString, KviKvsTreeNodeData>* KviKvsTreeNodeSwitchList::m_pLongSwitchDict |
Referenced by addLong(), dump(), evaluate(), getStandardRebindingSwitch(), KviKvsTreeNodeSwitchList(), and ~KviKvsTreeNodeSwitchList().
| KviPointerHashTable<int, KviKvsTreeNodeData>* KviKvsTreeNodeSwitchList::m_pShortSwitchDict |
Referenced by addShort(), dump(), evaluate(), getStandardRebindingSwitch(), KviKvsTreeNodeSwitchList(), and ~KviKvsTreeNodeSwitchList().
1.8.7