Logo Search packages:      
Sourcecode: verlihub version File versions

nDirectConnect::nTables::cKickList Class Reference

#include <ckicklist.h>

Inheritance diagram for nDirectConnect::nTables::cKickList:

nConfig::cConfMySQL nConfig::cConfigBase nConfig::cConfigBaseBase cObj

List of all members.


Detailed Description

Author:
Daniel Muller

Definition at line 27 of file ckicklist.h.


Public Types

typedef tItemHash::iterator tIHIt
typedef tcHashListMap
< cConfigItemBase *, unsigned > 
tItemHash
typedef unsigned tItemHashType
typedef vector< size_t > tItemVec
typedef tItemVec::iterator tIVIt

Public Member Functions

cConfigItemBaseAdd (const string &, cConfigItemBase *)
template<class T>
void AddCol (const char *colName, const char *colType, const char *colDefault, bool colNull, T &var)
bool AddKick (cConnDC *, const string &OPNick, const string *, cKick &)
void AddPrimaryKey (const char *)
void AllFields (ostream &, bool DoF=true, bool DoV=false, bool IsAff=false, string joint=string(", "))
void AllPKFields (ostream &, bool DoF=true, bool DoV=false, bool IsAff=false, string joint=string(", "))
iteratorbegin ()
void BindNick (int, const string &)
 cKickList (cMySQL &mysql)
void Cleanup ()
void CreateTable ()
db_iteratordb_begin ()
db_iteratordb_begin (cQuery &)
db_iteratordb_end ()
 DeclareAddMethods (double)
 DeclareAddMethods (char *)
 DeclareAddMethods (string)
 DeclareAddMethods (__int64)
 DeclareAddMethods (unsigned long)
 DeclareAddMethods (long)
 DeclareAddMethods (unsigned)
 DeclareAddMethods (int)
 DeclareAddMethods (char)
 DeclareAddMethods (bool)
void DeletePK ()
iteratorend ()
int EndQuery (cQuery &)
int EndQuery ()
virtual std::ostream & ErrLog ()
int ErrLog (int level)
bool FindKick (cKick &Dest, const string &Nick, const string &OpNick, unsigned Age, bool WithReason, bool WithDrop, bool IsNick=true)
virtual int Load (cQuery &)
virtual int Load ()
bool LoadPK ()
virtual std::ostream & Log ()
int Log (int level)
std::ostream & LogStream ()
cConfigItemBaseoperator[] (const string &)
cConfigItemBaseoperator[] (int)
virtual int Save ()
bool SavePK (bool dup=false)
void SelectFields (ostream &)
void SetBaseTo (void *new_base)
void SetClassName (const char *name)
int StartQuery (cQuery &)
int StartQuery ()
int StartQuery (string query)
virtual int StrLog (std::ostream &ostr, int level)
void UpdateFields (ostream &os)
bool UpdatePK (cQuery &)
bool UpdatePK ()
bool UpdatePKVar (cConfigItemBase *)
bool UpdatePKVar (const char *)
bool UpdatePKVar (const char *var_name, string &new_val)
void WherePKey (ostream &os)

Static Public Member Functions

static int GetCount ()
static void WriteStringConstant (ostream &os, const string &str)

Public Attributes

void * mBasePtr
iterator mBegin
const char * mClassName
iterator mEnd
tItemHash mhItems
cBasicItemCreator * mItemCreator
cMySQLmMySQL
cQuery mQuery
std::ostream * mToLog
tItemVec mvItems

Static Public Attributes

static const string mEmpty
static hHashStr< tItemHashType > msHasher
static int msLogLevel = 4

Protected Attributes

unsigned mCols
cKick mModel
cMySQLTable mMySQLTable
tItemHash mPrimaryKey
int ok

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

Generated by  Doxygen 1.6.0   Back to index