util.hxx File Reference

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

Include dependency graph for util.hxx:

Go to the source code of this file.

Namespaces

namespace  pqxx
namespace  std
namespace  pqxx::internal

Classes

struct  pqxx::thread_safety_model
 Descriptor of library's thread-safety model. More...
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
class  pqxx::internal::PQAlloc< T, DELETER >
 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...

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

thread_safety_model pqxx::describe_thread_safety () throw ()
 Describe thread safety available in this build.
template<typename ITER, typename ACCESS>
std::string pqxx::separated_list (const std::string &sep, ITER begin, ITER end, ACCESS access)
 Access iterators using ACCESS functor, returning separator-separated list.
template<typename ITER>
std::string pqxx::separated_list (const std::string &sep, ITER begin, ITER end)
 Render sequence as a string, using given separator between items.
template<typename OBJ>
std::string pqxx::separated_list (const std::string &sep, OBJ *begin, OBJ *end)
 Render array as a string, using given separator between items.
template<typename CONTAINER>
std::string pqxx::separated_list (const std::string &sep, const CONTAINER &c)
 Render items in a container as a string, using given separator.
void pqxx::internal::freepqmem (const void *)
template<typename P>
void pqxx::internal::freepqmem_templated (P *p)
void pqxx::internal::CheckUniqueRegistration (const namedclass *New, const namedclass *Old)
void pqxx::internal::CheckUniqueUnregistration (const namedclass *New, const namedclass *Old)
void pqxx::internal::sleep_seconds (int)
 Sleep for the given number of seconds.
cstring pqxx::internal::strerror_wrapper (int err, char buf[], std::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"


Generated on Mon Feb 15 18:22:46 2010 for libpqxx by  doxygen 1.5.5