KVIrc 5.2.6
Developer APIs
KviKvsSwitchList Class Reference

#include <KviKvsSwitchList.h>

Public Member Functions

void addLong (const QString &szLongKey, KviKvsVariant *pVariant)
 
void addShort (unsigned short uShortKey, KviKvsVariant *pVariant)
 
void clear ()
 
KviKvsVariantfind (const QChar &c)
 
KviKvsVariantfind (const QString &szLongKey)
 
KviKvsVariantfind (unsigned short uShortKey)
 
KviKvsVariantfind (unsigned short uShortKey, const QString &szLongKey)
 
bool getAsStringIfExisting (unsigned short uShortKey, const QString &szLongKey, QString &szBuffer)
 
bool isEmpty ()
 
 KviKvsSwitchList ()
 
 ~KviKvsSwitchList ()
 

Protected Attributes

KviPointerHashTable< QString, KviKvsVariant > * m_pLongSwitchDict
 
KviPointerHashTable< unsigned short, KviKvsVariant > * m_pShortSwitchDict
 

Constructor & Destructor Documentation

◆ KviKvsSwitchList()

KviKvsSwitchList::KviKvsSwitchList ( )

◆ ~KviKvsSwitchList()

KviKvsSwitchList::~KviKvsSwitchList ( )

Member Function Documentation

◆ addLong()

void KviKvsSwitchList::addLong ( const QString & szLongKey,
KviKvsVariant * pVariant )

◆ addShort()

void KviKvsSwitchList::addShort ( unsigned short uShortKey,
KviKvsVariant * pVariant )

◆ clear()

void KviKvsSwitchList::clear ( )

◆ find() [1/4]

KviKvsVariant * KviKvsSwitchList::find ( const QChar & c)
inline

References m_pShortSwitchDict.

Referenced by action_kvs_cmd_create(), action_kvs_cmd_destroy(), action_kvs_cmd_disable(), action_kvs_cmd_enable(), action_kvs_cmd_trigger(), addon_kvs_cmd_configure(), addon_kvs_cmd_help(), addon_kvs_cmd_installfiles(), addon_kvs_cmd_register(), addon_kvs_cmd_setconfigurecallback(), addon_kvs_cmd_sethelpcallback(), addon_kvs_cmd_uninstall(), avatar_kvs_cmd_notify(), dcc_kvs_cmd_abort(), dcc_kvs_cmd_chat(), dcc_kvs_cmd_get(), dcc_kvs_cmd_recv(), dcc_kvs_cmd_rsend(), dcc_kvs_cmd_send(), dcc_kvs_cmd_setBandwidthLimit(), dcc_kvs_cmd_video(), dcc_kvs_cmd_voice(), dcc_kvs_parse_default_parameters(), default_module_kvs_cmd_unload(), dialog_kvs_cmd_textinput(), KviKvsTreeNodeSpecialCommandDefpopup::execute(), KviKvsTreeNodeSpecialCommandForeach::execute(), KviKvsTreeNodeSpecialCommandSwitch::execute(), file_kvs_cmd_copy(), file_kvs_cmd_mkdir(), file_kvs_cmd_remove(), file_kvs_cmd_rmdir(), file_kvs_cmd_write(), file_kvs_cmd_writeBytes(), file_kvs_cmd_writeLines(), getAsStringIfExisting(), help_kvs_cmd_open(), http_kvs_complete_get(), objects_kvs_cmd_clearObjects(), perl_kvs_cmd_begin(), perl_kvs_cmd_destroy(), proxydb_kvs_cmd_setIp(), proxydb_kvs_cmd_setIPv6(), proxydb_kvs_cmd_setPort(), proxydb_kvs_cmd_setProtocol(), python_kvs_cmd_begin(), python_kvs_cmd_destroy(), serverdb_kvs_cmd_addNetwork(), serverdb_kvs_cmd_addServer(), sharedfile_kvs_cmd_add(), theme_kvs_cmd_apply(), toolbar_kvs_cmd_additem(), toolbar_kvs_cmd_clear(), toolbar_kvs_cmd_create(), toolbar_kvs_cmd_destroy(), toolbar_kvs_cmd_hide(), toolbar_kvs_cmd_removeitem(), toolbar_kvs_cmd_show(), and upnp_kvs_cmd_addPortMapping().

◆ find() [2/4]

KviKvsVariant * KviKvsSwitchList::find ( const QString & szLongKey)
inline

References m_pLongSwitchDict.

◆ find() [3/4]

KviKvsVariant * KviKvsSwitchList::find ( unsigned short uShortKey)
inline

References m_pShortSwitchDict.

◆ find() [4/4]

KviKvsVariant * KviKvsSwitchList::find ( unsigned short uShortKey,
const QString & szLongKey )
inline

◆ getAsStringIfExisting()

bool KviKvsSwitchList::getAsStringIfExisting ( unsigned short uShortKey,
const QString & szLongKey,
QString & szBuffer )
inline

◆ isEmpty()

bool KviKvsSwitchList::isEmpty ( )
inline

Member Data Documentation

◆ m_pLongSwitchDict

KviPointerHashTable<QString, KviKvsVariant>* KviKvsSwitchList::m_pLongSwitchDict
protected

◆ m_pShortSwitchDict

KviPointerHashTable<unsigned short, KviKvsVariant>* KviKvsSwitchList::m_pShortSwitchDict
protected

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