Next: 4. Tutorial by Example
Up: Mysql++ A C++ API
Previous: 3. Important Changes
  Contents
Subsections
- 4. Tutorial by Example
- 5. Class Reference
- 5.1 struct BadConversion
- 5.2 class BadNullConversion
- 5.3 class Connection
- Type
- Include file
- Synopsis
- Public methods
- public Connection ()
- public Connection (bool te)
- public Connection (const char *db, const char *host = "", const char *user = "", const char *passwd = "", bool te = true)
- public Connection (const char *db, const char *host, const char *user, const char *passwd, uint port, my_bool compress = 1, unsigned int connect_timeout = 5, bool te = true, cchar *socket_name = "")
- public int affected_rows ()
- public operator bool ()
- public string clinet_info ()
- public void close ()
- public bool connect (cchar *db = "", cchar *host = "", cchar *user = "", cchar *passwd = "")
- public bool connected () const
- public bool create_db (string db)
- public bool drop_db (string db)
- public int errnum ()
- public string error ()
- public bool exec (const string &str)
- public ResNSel execute (const string &str)
- public ResNSel execute (const string &str, bool te)
- public st_mysql_options get_options (void) const
- public string host_info ()
- public string info ()
- public string infoo (void)
- public int insert_id ()
- public int kill (unsigned long pid)
- public bool lock ()
- public int ping (void)
- public int proto_info ()
- public void purge (void)
- public inline Query query ()
- public int read_options (enum mysql_option option,const char *arg)
- public bool real_connect (cchar *db = "", cchar *host = "", cchar *user = "", cchar *passwd = "", uint port = 0, my_bool compress = 0, unsigned int connect_timeout = 60, cchar *socket_name= "")
- public int refresh (unsigned int refresh_options)
- public bool reload ()
- public bool select_db (const char *db)
- public bool select_db (string db)
- public string server_info ()
- public bool shutdown ()
- public string stat ()
- public Result store (const string &str)
- public Result store (const string &str, bool te)
- public template
class T
void storein (deque
T
&con, const string &s)
- public template
class T
void storein (list
T
&con, const string &s)
- public template
class T
void storein (multiset
T
&con, const string &s)
- public template
class T
void storein (set
T
&con, const string &s)
- public template
class T
void storein (slist
T
&con, const string &s)
- public template
class T
void storein (vector
T
&con, const string &s)
- public template
class Sequence
void storein_sequence (Sequence &, const string &)
- public template
class Set
void storein_set (Set &, const string &)
- public bool success ()
- public void unlock ()
- public ResUse use (const string &str)
- public ResUse use (const string &str, bool te)
- public ~ Connection ()
- Friend methods
- 5.4 struct Date
- 5.5 struct DateTime
- 5.6 class FieldNames
- 5.7 class FieldTypes
- 5.8 class Fields
- 5.9 template class MysqlCmp
class BinaryPred, class CmpType
- 5.10 template class MysqlCmpCStr
class BinaryPred
- 5.11 template struct MysqlDTbase
class T
- 5.12 template class MysqlListInsert
class T, class value_type = typename T::value_type
- 5.13 template class MysqlSetInsert
class T, class key_type = typename T::key_type
- 5.14 template class Null
class Type, class Behavior = NullisNull
- 5.15 struct NullisBlank
- 5.16 struct NullisNull
- 5.17 struct NullisZero
- 5.18 class Query
- 5.19 struct ResNSel
- 5.20 class ResUse
- 5.21 class Result
- 5.22 class Row
- 5.23 template class RowTemplate
class ThisType, class Res
- Type
- Include file
- Synopsis
- Public methods
- public equal_list_ba
FieldNames,ThisType,quote_type0
equal_list (const char *d = ",", const char *e = " = ") const
- public template
class Manip
equal_list_ba
FieldNames,ThisType,Manip
equal_list (const char *d, const char *e, Manip m) const
- public value_list_b
FieldNames,quote_type0
field_list (bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false) const
- public value_list_b
FieldNames,quote_type0
field_list (const vector
bool
&vb) const
- public value_list_b
FieldNames,quote_type0
field_list (const vector
bool
&vb) const
- public template
class Manip
value_list_ba
FieldNames,Manip
field_list (const char *d, Manip m) const
- public template
class Manip
value_list_b
FieldNames,Manip
field_list (const char *d, Manip m, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false) const
- public template
class Manip
value_list_b
FieldNames,Manip
field_list (const char *d, Manip m, const vector
bool
&vb) const
- public template
class Manip
value_list_b
FieldNames,Manip
field_list (const char *d, Manip m, string s0, string s1="", string s2="", string s3="", string s4="", string s5="", string s6="", string s7="", string s8="", string s9="", string sa="", string sb="", string sc="") const
- public value_list_b
FieldNames,quote_type0
field_list (const char *d, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false) const
- public value_list_b
FieldNames,quote_type0
field_list (const char *d, const vector
bool
&vb) const
- public value_list_b
FieldNames,quote_type0
field_list (const char *d, string s0, string s1="", string s2="", string s3="", string s4="", string s5="", string s6="", string s7="", string s8="", string s9="", string sa="", string sb="", string sc="") const
- public value_list_b
FieldNames,quote_type0
field_list (string s0, string s1="", string s2="", string s3="", string s4="", string s5="", string s6="", string s7="", string s8="", string s9="", string sa="", string sb="", string sc="") const
- public pure virtual const Res & parent () const
- public value_list_b
ThisType,quote_type0
value_list (bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false) const
- public value_list_b
ThisType,quote_type0
value_list (const vector
bool
&vb) const
- public value_list_b
ThisType,quote_type0
value_list (const vector
bool
&vb) const
- public template
class Manip
value_list_ba
ThisType,Manip
value_list (const char *d, Manip m) const
- public template
class Manip
value_list_b
ThisType,Manip
value_list (const char *d, Manip m, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false) const
- public template
class Manip
value_list_b
ThisType,Manip
value_list (const char *d, Manip m, const vector
bool
&vb) const
- public template
class Manip
value_list_b
ThisType,Manip
value_list (const char *d, Manip m, string s0, string s1="", string s2="", string s3="", string s4="", string s5="", string s6="", string s7="", string s8="", string s9="", string sa="", string sb="", string sc="") const
- public value_list_b
ThisType,quote_type0
value_list (const char *d, bool t0, bool t1=false, bool t2=false, bool t3=false, bool t4=false, bool t5=false, bool t6=false, bool t7=false, bool t8=false, bool t9=false, bool ta=false, bool tb=false, bool tc=false) const
- public value_list_b
ThisType,quote_type0
value_list (const char *d, const vector
bool
&vb) const
- public value_list_b
ThisType,quote_type0
value_list (const char *d, string s0, string s1="", string s2="", string s3="", string s4="", string s5="", string s6="", string s7="", string s8="", string s9="", string sa="", string sb="", string sc="") const
- public value_list_b
ThisType,quote_type0
value_list (string s0, string s1="", string s2="", string s3="", string s4="", string s5="", string s6="", string s7="", string s8="", string s9="", string sa="", string sb="", string sc="") const
- public virtual ~ RowTemplate ()
- Protected methods
- 5.24 struct SQLParseElement
- 5.25 class SQLQuery
- 5.26 struct SQLQueryNEParms
- 5.27 class SQLQueryParms
- Type
- Superclasses
- Include file
- Detailed description
- Synopsis
- Public methods
- public SQLQueryParms ()
- public SQLQueryParms (SQLQuery *p)
- public bool bound ()
- public void clear ()
- public SQLQueryParms operator + (const SQLQueryParms &other) const
- public SQLQueryParms &operator += (const SQLString &str)
- public SQLQueryParms &operator

(const SQLString &str)
- public SQLString &operator (const char *str)
- public const SQLString &operator (const char *str) const
- public SQLString &operator (size_type n)
- public const SQLString &operator (size_type n) const
- public void set (ss a)
- public void set (ss a, ss b)
- public void set (ss a, ss b, ss c)
- public void set (ss a, ss b, ss c, ss d)
- public void set (ss a, ss b, ss c, ss d, ss e)
- public void set (ss a, ss b, ss c, ss d, ss e, ss f)
- public void set (ss a, ss b, ss c, ss d, ss e, ss f, ss g)
- public void set (ss a, ss b, ss c, ss d, ss e, ss f, ss g, ss h)
- public void set (ss a, ss b, ss c, ss d, ss e, ss f, ss g, ss h, ss i)
- public void set (ss a,ss b,ss c,ss d,ss e,ss f,ss g,ss h,ss i,ss j)
- public void set (ss a,ss b,ss c,ss d,ss e,ss f,ss g,ss h,ss i,ss j,ss k)
- public void set (ss a,ss b,ss c,ss d,ss e,ss f,ss g,ss h,ss i,ss j,ss k,ss l)
- Friend methods
- 5.28 class SQLString
- 5.29 template class Set
class Container = set
string
- 5.30 struct Time
- 5.31 class const_string
- 5.32 template class const_subscript_container
class OnType, class ValueType, class ReturnType = const ValueType&, class SizeType = unsigned int, class DiffType = int
- 5.33 struct cstr_equal_to
- 5.34 struct cstr_greater
- 5.35 struct cstr_greater_equal
- 5.36 struct cstr_less
- 5.37 struct cstr_less_equal
- 5.38 struct cstr_not_equal_to
- 5.39 struct do_nothing_type1
- 5.40 struct do_nothing_type2
- 5.41 template struct equal_list_b
class Seq1, class Seq2, class Manip
- 5.42 template struct equal_list_ba
class Seq1, class Seq2, class Manip
- 5.43 struct escape_type1
- 5.44 struct escape_type2
- 5.45 struct ignore_type2
- 5.46 template class mysql_ColData
class Str
- 5.47 class mysql_convert
- 5.48 struct mysql_date
- 5.49 struct mysql_dt_base
- 5.50 class mysql_ti_sql_type_info
- 5.51 class mysql_ti_sql_type_info_lookup
- 5.52 struct mysql_time
- 5.53 class mysql_type_info
- 5.54 class null_type
- 5.55 struct quote_double_only_type1
- 5.56 struct quote_double_only_type2
- 5.57 struct quote_only_type1
- 5.58 struct quote_only_type2
- 5.59 struct quote_type1
- 5.60 struct quote_type2
- 5.61 template class simp_list_b
class Iter
- 5.62 template class subscript_iterator
class OnType, class ReturnType, class SizeType, class DiffType
- 5.63 struct type_info_cmp
- 5.64 template struct value_list_b
class Seq, class Manip
- 5.65 template struct value_list_ba
class Seq, class Manip
- 5.66 Manipulators
- 6. Template Queries
- 7. Specialized SQL Structures
- 8. Long Names
2000-09-25