|
Compounds |
class | broken_connection |
| Exception class for lost backend connection. More...
|
class | CachedResult |
class | const_iterator |
| NOT IMPLEMENTED YET. More...
|
class | Connection |
| Connection class; represents a connection to a database. More...
|
class | in_doubt_error |
| "Help, I don't know whether transaction was committed successfully!" More...
|
class | FieldConverter |
class | const_iterator |
| Iterator for rows (tuples) in a query result set. More...
|
class | Cursor |
| SQL cursor class. More...
|
class | Field |
| Reference to a field in a result set. More...
|
class | NonTransaction |
| Simple "Transaction" class offering no transactional integrity. More...
|
struct | Noticer |
| Base class for user-definable error/warning message processor. More...
|
struct | unknown_position |
| Exception thrown when cursor position is requested, but is unknown. More...
|
class | Result |
| Query or command result set. More...
|
class | Tuple |
| Reference to one row in a Result. More...
|
class | RobustTransaction |
| Slower, better fortified version of Transaction. More...
|
class | TableReader |
| Efficiently pull data directly out of a table. More...
|
class | TableStream |
| Base class for streaming data to/from database tables. More...
|
class | TableWriter |
| Efficiently write data directly to a database table. More...
|
class | Transaction |
| Back-end transaction. More...
|
class | TransactionItf |
| Interface definition (and common code) for "transaction" classes. More...
|
class | Transactor |
| Wrapper for transactions that automatically restarts them on failure. More...
|
class | Trigger |
| "Observer" base class for trigger notifications. More...
|
class | Unique |
Typedefs |
typedef void(* | NoticeProcessor )(void *arg, const char *msg) |
typedef long | Result_size_type |
typedef int | Tuple_size_type |
Functions |
template<> PGSTD::string | Classname (const TransactionItf *) |
| Human-readable class names for use by Unique template.
|
Result::const_iterator | operator+ (Result::const_iterator::difference_type o, Result::const_iterator i) |
template<> PGSTD::string | Classname (const TableStream *) |
template<typename T> const char * | FmtString (T) |
template<> const char * | FmtString (int) |
template<> const char * | FmtString (long) |
template<> const char * | FmtString (unsigned) |
template<> const char * | FmtString (float) |
template<> const char * | FmtString (double) |
template<> const char * | FmtString (char) |
template<typename T> PGSTD::string | ToString (const T &Obj) |
| Convert object of built-in type to string.
|
template<> PGSTD::string | ToString (const PGSTD::string &Obj) |
template<> PGSTD::string | ToString (const char *const &Obj) |
template<> PGSTD::string | ToString (const bool &Obj) |
template<> PGSTD::string | ToString (const short &Obj) |
template<> PGSTD::string | ToString (const unsigned short &Obj) |
template<typename T> void | FromString (const char Str[], T &Obj) |
template<> void | FromString (const char Str[], PGSTD::string &Obj) |
template<> void | FromString (const char Str[], const char *&Obj) |
template<> void | FromString (const char Str[], bool &Obj) |
template<typename T> PGSTD::string | Quote (const T &Obj, bool EmptyIsNull=false) |
template<> PGSTD::string | Quote (const PGSTD::string &Obj, bool EmptyIsNull) |
| std::string version, on which the other versions are built
|
template<> PGSTD::string | Quote (const char *const &Obj, bool EmptyIsNull) |
template<typename T> PGSTD::string | Classname (const T *) |
| Return user-readable name for a class. Specialize this whereever used.
|