DB Namespace Reference


Classes

class  ResultSet
class  Connection
class  Query
class  unixtime
class  qstr
class  MySQL_ResultSet
class  MySQL_Connection
class  Sqlite3_ResultSet
class  Sqlite3_Connection

Functions

ACE_INLINE Queryunixtime_impl (Query &Out, const time_t ut)
ACE_INLINE Queryqstr_impl (Query &Out, const char *str)
ACE_Svc_Export Connectioncreate_connection (void)


Function Documentation

ACE_INLINE Query& DB::unixtime_impl ( Query &  Out,
const time_t  ut 
)

Definition at line 369 of file db.h.

References DB::Query::conn_, and DB::Connection::unixtimeToSql().

00370     {
00371         const char *buf = Out.conn_.unixtimeToSql(ut);
00372         Out << buf;
00373         delete [] buf;
00374         return (Out);
00375     }

ACE_INLINE Query& DB::qstr_impl ( Query &  Out,
const char *  str 
)

Definition at line 377 of file db.h.

References DB::Query::conn_, and DB::Connection::escape().

00378     {
00379         const char *buf = Out.conn_.escape(str);
00380         Out << buf;
00381         delete [] buf;
00382         return (Out);
00383     }

DB::Connection * DB::create_connection ( void   ) 

Definition at line 422 of file mysql_db.cpp.

00423 {
00424   DB::MySQL_Connection *c = 0;
00425   ACE_NEW_RETURN (c, DB::MySQL_Connection, 0);
00426   return (c);
00427 }


Generated on Tue Apr 24 18:59:42 2007 for DbAbstract by  doxygen 1.4.7