DB::qstr Class Reference

#include <db.h>

List of all members.

Public Member Functions

 qstr (const char *str)

Private Attributes

std::string s

Friends

Queryoperator<< (Query &Out, const qstr &q)


Detailed Description

Stream manipulator to escape a string according to the underlying database type.

Based on the Effector pattern

Definition at line 408 of file db.h.


Constructor & Destructor Documentation

DB::qstr::qstr ( const char *  str  )  [inline]

Definition at line 411 of file db.h.

00411 : s(str) {}


Friends And Related Function Documentation

Query& operator<< ( Query Out,
const qstr q 
) [friend]

Definition at line 412 of file db.h.

00412                                                             {
00413                 return qstr_impl(Out, q.s.c_str());
00414         }


Member Data Documentation

std::string DB::qstr::s [private]

Definition at line 409 of file db.h.


The documentation for this class was generated from the following file:
Generated on Tue Apr 24 18:59:42 2007 for DbAbstract by  doxygen 1.4.7