Logo Search packages:      
Sourcecode: verlihub version File versions

nDirectConnect::nTables::cRegList Class Reference

#include <creglist.h>

Inheritance diagram for nDirectConnect::nTables::cRegList:

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

List of all members.


Detailed Description

a reg users list
Author:
Daniel Muller

Definition at line 46 of file creglist.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)
void AddPrimaryKey (const char *)
bool AddRegUser (const string &nick, cConnDC *op, int cl, const char *password=NULL)
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 &)
bool ChangePwd (const string &nick, const string &pwd, int)
void CreateTable ()
 cRegList (cMySQL &mysql, cServerDC *)
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 ()
bool DelReg (const string &nick)
iteratorend ()
int EndQuery (cQuery &)
int EndQuery ()
virtual std::ostream & ErrLog ()
int ErrLog (int level)
bool FindRegInfo (cRegUserInfo &, const string &nick)
virtual int Load (cQuery &)
virtual int Load ()
bool LoadPK ()
virtual std::ostream & Log ()
int Log (int level)
bool Login (cConnDC *conn, const string &nick)
bool LoginError (cConnDC *conn, const string &nick)
bool Logout (const string &nick)
std::ostream & LogStream ()
cConfigItemBaseoperator[] (const string &)
cConfigItemBaseoperator[] (int)
void ReloadCache ()
virtual int Save ()
bool SavePK (bool dup=false)
void SelectFields (ostream &)
void SetBaseTo (void *new_base)
void SetClassName (const char *name)
bool SetVar (const string &nick, string &field, string &value)
int StartQuery (cQuery &)
int StartQuery ()
int StartQuery (string query)
virtual int StrLog (std::ostream &ostr, int level)
void UpdateCache ()
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
tCache< string > mCache
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
cRegUserInfo mModel
cMySQLTable mMySQLTable
tItemHash mPrimaryKey
cServerDCmS
int ok

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

Generated by  Doxygen 1.6.0   Back to index