#include "pqxx/compiler-public.hxx"#include <cstdio>#include <cctype>#include <sstream>#include <stdexcept>#include <string>#include <typeinfo>#include <vector>#include <pqxx/libpq-forward.hxx>

Go to the source code of this file.
Namespaces | |
| namespace | pqxx |
| namespace | PGSTD |
| namespace | pqxx::internal |
Classes | |
| struct | pqxx::pqxx::string_traits< const char * > |
| String traits for C-style string ("pointer to const char"). More... | |
| struct | pqxx::pqxx::string_traits< char[N]> |
| String traits for C-style string constant ("array of char"). More... | |
| struct | pqxx::pqxx::string_traits< PGSTD::string > |
| struct | pqxx::pqxx::string_traits< PGSTD::stringstream > |
| class | pqxx::items< T, CONT > |
| Container of items with easy contents initialization and string rendering. More... | |
| struct | pqxx::internal::dereference< ITER > |
| Functor: dereference iterator. More... | |
| struct | pqxx::internal::deref_ptr< T > |
| class | pqxx::internal::refcount |
| Helper class used in reference counting (doubly-linked circular list). More... | |
| class | pqxx::internal::PQAlloc< T > |
| Reference-counted smart pointer to libpq-allocated object. More... | |
| class | pqxx::internal::scoped_array< T > |
| class | pqxx::internal::namedclass |
| class | pqxx::internal::unique< GUEST > |
| Ensure proper opening/closing of GUEST objects related to a "host" object. More... | |
Defines | |
| #define | PQXX_DECLARE_STRING_TRAITS_SPECIALIZATION(T) |
Typedefs | |
| typedef unsigned long | pqxx::internal::result_size_type |
| typedef long | pqxx::internal::result_difference_type |
| typedef const char * | pqxx::internal::cstring |
| Work around problem with library export directives and pointers. | |
Functions | |
| void | pqxx::internal::throw_null_conversion (const PGSTD::string &type) |
| Throw exception for attempt to convert null to given type. | |
| template<typename T> | |
| void | pqxx::from_string (const char Str[], T &Obj) |
| Attempt to convert postgres-generated string to given built-in type. | |
| template<typename T> | |
| void | pqxx::from_string (const char Str[], T &Obj, size_t) |
| Conversion with known string length (for strings that may contain nuls). | |
| template<> | |
| void | pqxx::from_string< PGSTD::string > (const char Str[], PGSTD::string &Obj, size_t len) |
| template<typename T> | |
| void | pqxx::from_string (const PGSTD::string &Str, T &Obj) |
| template<typename T> | |
| void | pqxx::from_string (const PGSTD::stringstream &Str, T &Obj) |
| template<> | |
| void | pqxx::from_string (const PGSTD::string &Str, PGSTD::string &Obj) |
| int | pqxx::internal::digit_to_number (char c) throw () |
| Compute numeric value of given textual digit (assuming that it is a digit). | |
| char | pqxx::internal::number_to_digit (int i) throw () |
| template<typename T> | |
| PGSTD::string | pqxx::to_string (const T &Obj) |
| Convert built-in type to a readable string that PostgreSQL will understand. | |
| PGSTD::string | pqxx::to_string (const char Obj[]) |
| template<typename ITER, typename ACCESS> | |
| PGSTD::string | pqxx::separated_list (const PGSTD::string &sep, ITER begin, ITER end, ACCESS access) |
| Access iterators using ACCESS functor, returning separator-separated list. | |
| template<typename ITER> | |
| PGSTD::string | pqxx::separated_list (const PGSTD::string &sep, ITER begin, ITER end) |
| Render sequence as a string, using given separator between items. | |
| template<typename OBJ> | |
| PGSTD::string | pqxx::separated_list (const PGSTD::string &sep, OBJ *begin, OBJ *end) |
| Render array as a string, using given separator between items. | |
| template<typename CONTAINER> | |
| PGSTD::string | pqxx::separated_list (const PGSTD::string &sep, const CONTAINER &c) |
| Render items in a container as a string, using given separator. | |
| void PQXX_LIBEXPORT | pqxx::internal::freepqmem (void *) |
| void PQXX_LIBEXPORT | pqxx::internal::freemem_notif (pq::PGnotify *) throw () |
| void | pqxx::internal::CheckUniqueRegistration (const namedclass *New, const namedclass *Old) |
| void | pqxx::internal::CheckUniqueUnregistration (const namedclass *New, const namedclass *Old) |
| void PQXX_LIBEXPORT | pqxx::internal::sleep_seconds (int) |
| Sleep for the given number of seconds. | |
| cstring PQXX_LIBEXPORT | pqxx::internal::strerror_wrapper (int err, char buf[], PGSTD::size_t len) throw () |
| Human-readable description for error code, possibly using given buffer. | |
Variables | |
| const oid | pqxx::oid_none = 0 |
| The "null" oid. | |
| const char | pqxx::internal::sql_begin_work [] = "BEGIN" |
| Commonly used SQL commands. | |
| const char | pqxx::internal::sql_commit_work [] = "COMMIT" |
| const char | pqxx::internal::sql_rollback_work [] = "ROLLBACK" |
1.5.5