KVIrc 5.2.0
Developer APIs
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
KviIrcConnectionServerInfo Class Reference

#include <KviIrcConnectionServerInfo.h>

Public Member Functions

const QString & getChannelModeDescription (char mode) const
 
bool getNeedsOperToSetS () const
 
bool getNeedsOpToListModeseI () const
 
const QString & getUserModeDescription (QChar mode) const
 
QChar getUserModeRequirement (QChar mode) const
 
bool isSupportedChannelType (QChar c) const
 
bool isSupportedModeFlag (QChar c) const
 
bool isSupportedModePrefix (QChar c) const
 
int maxModeChanges () const
 
int maxTopicLen () const
 
QChar modeFlagChar (kvi_u32_t flag) const
 
kvi_u32_t modeFlagFromModeChar (QChar c) const
 
kvi_u32_t modeFlagFromPrefixChar (QChar c) const
 
QChar modePrefixChar (kvi_u32_t flag) const
 
const QString & name () const
 
const QString & networkName () const
 
char registerModeChar () const
 
void setServerVersion (const QString &version)
 
const char * software () const
 
const QStringList & supportedCaps () const
 
const QString & supportedChannelModes () const
 
const QString & supportedChannelTypes () const
 
const QString & supportedListModes () const
 
const QString & supportedModeFlags () const
 
const QString & supportedModePrefixes () const
 
const QString & supportedParameterModes () const
 
const QString & supportedParameterWhenSetModes () const
 
const QString & supportedPlainModes () const
 
const QString & supportedStatusMsgPrefixes () const
 
const QString & supportedUserModes () const
 
bool supportsCap () const
 
bool supportsCodePages () const
 
bool supportsWatchList () const
 
bool supportsWhox () const
 

Protected Member Functions

void addSupportedCaps (const QString &szCapList)
 
 KviIrcConnectionServerInfo ()
 
void setMaxModeChanges (int iModes)
 
void setMaxTopicLen (int iTopLen)
 
void setName (const QString &szName)
 
void setNetworkName (const QString &szName)
 
void setSupportedChannelModes (const QString &szSupportedChannelModes)
 
void setSupportedChannelTypes (const QString &szSupportedChannelTypes)
 
void setSupportedModePrefixes (const QString &szSupportedModePrefixes, const QString &szSupportedModeFlags)
 
void setSupportedStatusMsgPrefixes (const QString &szSupportedStatusMsgPrefixes)
 
void setSupportedUserModes (const QString &szSupportedUserModes)
 
void setSupportsCodePages (bool bSupportsCodePages)
 
void setSupportsWatchList (bool bSupportsWatchList)
 
void setSupportsWhox (bool bSupportsWhox)
 
 ~KviIrcConnectionServerInfo ()
 

Private Member Functions

void buildModePrefixTable ()
 

Private Attributes

bool m_bSupportsCap = false
 
bool m_bSupportsCodePages = false
 
bool m_bSupportsWatchList = false
 
bool m_bSupportsWhox = false
 
int m_iMaxModeChanges = 3
 
int m_iMaxTopicLen = -1
 
QStringList m_lSupportedCaps
 
kvi_u32_t * m_pModePrefixTable = nullptr
 
KviBasicIrcServerInfom_pServInfo
 
QString m_szListModes = "b"
 
QString m_szName
 
QString m_szNetworkName
 
QString m_szParameterModes = "k"
 
QString m_szParameterWhenSetModes = "l"
 
QString m_szPlainModes = "pstnmi"
 
QString m_szSupportedChannelModes = "pstnmiklb"
 
QString m_szSupportedChannelTypes = "#&!+"
 
QString m_szSupportedModeFlags = "ov"
 
QString m_szSupportedModePrefixes = "@+"
 
QString m_szSupportedStatusMsgPrefixes
 
QString m_szSupportedUserModes
 
unsigned int m_uPrefixes
 

Friends

class KviConsoleWindow
 
class KviIrcConnection
 
class KviIrcServerParser
 

Constructor & Destructor Documentation

◆ KviIrcConnectionServerInfo()

KviIrcConnectionServerInfo::KviIrcConnectionServerInfo ( )
protected

◆ ~KviIrcConnectionServerInfo()

KviIrcConnectionServerInfo::~KviIrcConnectionServerInfo ( )
protected

Member Function Documentation

◆ addSupportedCaps()

void KviIrcConnectionServerInfo::addSupportedCaps ( const QString &  szCapList)
protected

◆ buildModePrefixTable()

void KviIrcConnectionServerInfo::buildModePrefixTable ( )
private

◆ getChannelModeDescription()

const QString & KviIrcConnectionServerInfo::getChannelModeDescription ( char  mode) const
inline

◆ getNeedsOperToSetS()

bool KviIrcConnectionServerInfo::getNeedsOperToSetS ( ) const
inline

◆ getNeedsOpToListModeseI()

bool KviIrcConnectionServerInfo::getNeedsOpToListModeseI ( ) const
inline

◆ getUserModeDescription()

const QString & KviIrcConnectionServerInfo::getUserModeDescription ( QChar  mode) const
inline

◆ getUserModeRequirement()

QChar KviIrcConnectionServerInfo::getUserModeRequirement ( QChar  mode) const
inline

◆ isSupportedChannelType()

bool KviIrcConnectionServerInfo::isSupportedChannelType ( QChar  c) const

◆ isSupportedModeFlag()

bool KviIrcConnectionServerInfo::isSupportedModeFlag ( QChar  c) const

◆ isSupportedModePrefix()

bool KviIrcConnectionServerInfo::isSupportedModePrefix ( QChar  c) const

◆ maxModeChanges()

int KviIrcConnectionServerInfo::maxModeChanges ( ) const
inline

◆ maxTopicLen()

int KviIrcConnectionServerInfo::maxTopicLen ( ) const
inline

◆ modeFlagChar()

QChar KviIrcConnectionServerInfo::modeFlagChar ( kvi_u32_t  flag) const

References i, m_pModePrefixTable, and m_uPrefixes.

◆ modeFlagFromModeChar()

kvi_u32_t KviIrcConnectionServerInfo::modeFlagFromModeChar ( QChar  c) const

◆ modeFlagFromPrefixChar()

kvi_u32_t KviIrcConnectionServerInfo::modeFlagFromPrefixChar ( QChar  c) const

◆ modePrefixChar()

QChar KviIrcConnectionServerInfo::modePrefixChar ( kvi_u32_t  flag) const

◆ name()

const QString & KviIrcConnectionServerInfo::name ( ) const
inline

◆ networkName()

const QString & KviIrcConnectionServerInfo::networkName ( ) const
inline

◆ registerModeChar()

char KviIrcConnectionServerInfo::registerModeChar ( ) const
inline

◆ setMaxModeChanges()

void KviIrcConnectionServerInfo::setMaxModeChanges ( int  iModes)
inlineprotected

◆ setMaxTopicLen()

void KviIrcConnectionServerInfo::setMaxTopicLen ( int  iTopLen)
inlineprotected

◆ setName()

void KviIrcConnectionServerInfo::setName ( const QString &  szName)
inlineprotected

◆ setNetworkName()

void KviIrcConnectionServerInfo::setNetworkName ( const QString &  szName)
inlineprotected

◆ setServerVersion()

void KviIrcConnectionServerInfo::setServerVersion ( const QString &  version)

◆ setSupportedChannelModes()

void KviIrcConnectionServerInfo::setSupportedChannelModes ( const QString &  szSupportedChannelModes)
protected

◆ setSupportedChannelTypes()

void KviIrcConnectionServerInfo::setSupportedChannelTypes ( const QString &  szSupportedChannelTypes)
inlineprotected

◆ setSupportedModePrefixes()

void KviIrcConnectionServerInfo::setSupportedModePrefixes ( const QString &  szSupportedModePrefixes,
const QString &  szSupportedModeFlags 
)
protected

◆ setSupportedStatusMsgPrefixes()

void KviIrcConnectionServerInfo::setSupportedStatusMsgPrefixes ( const QString &  szSupportedStatusMsgPrefixes)
inlineprotected

◆ setSupportedUserModes()

void KviIrcConnectionServerInfo::setSupportedUserModes ( const QString &  szSupportedUserModes)
inlineprotected

◆ setSupportsCodePages()

void KviIrcConnectionServerInfo::setSupportsCodePages ( bool  bSupportsCodePages)
inlineprotected

◆ setSupportsWatchList()

void KviIrcConnectionServerInfo::setSupportsWatchList ( bool  bSupportsWatchList)
inlineprotected

◆ setSupportsWhox()

void KviIrcConnectionServerInfo::setSupportsWhox ( bool  bSupportsWhox)
inlineprotected

◆ software()

const char * KviIrcConnectionServerInfo::software ( ) const
inline

◆ supportedCaps()

const QStringList & KviIrcConnectionServerInfo::supportedCaps ( ) const
inline

◆ supportedChannelModes()

const QString & KviIrcConnectionServerInfo::supportedChannelModes ( ) const
inline

◆ supportedChannelTypes()

const QString & KviIrcConnectionServerInfo::supportedChannelTypes ( ) const
inline

◆ supportedListModes()

const QString & KviIrcConnectionServerInfo::supportedListModes ( ) const
inline

◆ supportedModeFlags()

const QString & KviIrcConnectionServerInfo::supportedModeFlags ( ) const
inline

◆ supportedModePrefixes()

const QString & KviIrcConnectionServerInfo::supportedModePrefixes ( ) const
inline

◆ supportedParameterModes()

const QString & KviIrcConnectionServerInfo::supportedParameterModes ( ) const
inline

◆ supportedParameterWhenSetModes()

const QString & KviIrcConnectionServerInfo::supportedParameterWhenSetModes ( ) const
inline

◆ supportedPlainModes()

const QString & KviIrcConnectionServerInfo::supportedPlainModes ( ) const
inline

◆ supportedStatusMsgPrefixes()

const QString & KviIrcConnectionServerInfo::supportedStatusMsgPrefixes ( ) const
inline

◆ supportedUserModes()

const QString & KviIrcConnectionServerInfo::supportedUserModes ( ) const
inline

◆ supportsCap()

bool KviIrcConnectionServerInfo::supportsCap ( ) const
inline

◆ supportsCodePages()

bool KviIrcConnectionServerInfo::supportsCodePages ( ) const
inline

◆ supportsWatchList()

bool KviIrcConnectionServerInfo::supportsWatchList ( ) const
inline

◆ supportsWhox()

bool KviIrcConnectionServerInfo::supportsWhox ( ) const
inline

Friends And Related Symbol Documentation

◆ KviConsoleWindow

friend class KviConsoleWindow
friend

◆ KviIrcConnection

friend class KviIrcConnection
friend

◆ KviIrcServerParser

friend class KviIrcServerParser
friend

Member Data Documentation

◆ m_bSupportsCap

bool KviIrcConnectionServerInfo::m_bSupportsCap = false
private

Referenced by addSupportedCaps().

◆ m_bSupportsCodePages

bool KviIrcConnectionServerInfo::m_bSupportsCodePages = false
private

◆ m_bSupportsWatchList

bool KviIrcConnectionServerInfo::m_bSupportsWatchList = false
private

◆ m_bSupportsWhox

bool KviIrcConnectionServerInfo::m_bSupportsWhox = false
private

◆ m_iMaxModeChanges

int KviIrcConnectionServerInfo::m_iMaxModeChanges = 3
private

◆ m_iMaxTopicLen

int KviIrcConnectionServerInfo::m_iMaxTopicLen = -1
private

◆ m_lSupportedCaps

QStringList KviIrcConnectionServerInfo::m_lSupportedCaps
private

Referenced by addSupportedCaps().

◆ m_pModePrefixTable

kvi_u32_t* KviIrcConnectionServerInfo::m_pModePrefixTable = nullptr
private

◆ m_pServInfo

KviBasicIrcServerInfo* KviIrcConnectionServerInfo::m_pServInfo
private

◆ m_szListModes

QString KviIrcConnectionServerInfo::m_szListModes = "b"
private

◆ m_szName

QString KviIrcConnectionServerInfo::m_szName
private

◆ m_szNetworkName

QString KviIrcConnectionServerInfo::m_szNetworkName
private

◆ m_szParameterModes

QString KviIrcConnectionServerInfo::m_szParameterModes = "k"
private

◆ m_szParameterWhenSetModes

QString KviIrcConnectionServerInfo::m_szParameterWhenSetModes = "l"
private

◆ m_szPlainModes

QString KviIrcConnectionServerInfo::m_szPlainModes = "pstnmi"
private

◆ m_szSupportedChannelModes

QString KviIrcConnectionServerInfo::m_szSupportedChannelModes = "pstnmiklb"
private

◆ m_szSupportedChannelTypes

QString KviIrcConnectionServerInfo::m_szSupportedChannelTypes = "#&!+"
private

Referenced by isSupportedChannelType().

◆ m_szSupportedModeFlags

QString KviIrcConnectionServerInfo::m_szSupportedModeFlags = "ov"
private

◆ m_szSupportedModePrefixes

QString KviIrcConnectionServerInfo::m_szSupportedModePrefixes = "@+"
private

◆ m_szSupportedStatusMsgPrefixes

QString KviIrcConnectionServerInfo::m_szSupportedStatusMsgPrefixes
private

◆ m_szSupportedUserModes

QString KviIrcConnectionServerInfo::m_szSupportedUserModes
private

◆ m_uPrefixes

unsigned int KviIrcConnectionServerInfo::m_uPrefixes
private

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