Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::internal Namespace Reference

Private namespace for libpqxx's internal use; do not access. More...


Classes

class  namedclass
class  PQAlloc
 Keep track of a libpq-allocated pointer to be free()d automatically. More...

class  transactionfocus
class  unique
 Ensure proper opening/closing of GUEST objects related to a "host" object. More...


Functions

template<typename T> const char * FmtString (T t)
 C-style format strings for various built-in types.

template<> const char * FmtString (short)
template<> const char * FmtString (unsigned short)
template<> const char * FmtString (int)
template<> const char * FmtString (long)
template<> const char * FmtString (float)
template<> const char * FmtString (double)
template<> const char * FmtString (char)
void PQXX_LIBEXPORT FromString_string (const char Str[], PGSTD::string &Obj)
 For libpqxx internal use only: convert C string to C++ string.

void PQXX_LIBEXPORT FromString_ucharptr (const char Str[], const unsigned char *&Obj)
 For libpqxx internal use only: convert unsigned char * to C++ string.

void PQXX_LIBEXPORT FromString_bool (const char Str[], bool &Obj)
 For libpqxx internal use only: convert string to bool.

PGSTD::string PQXX_LIBEXPORT Quote_string (const PGSTD::string &Obj, bool EmptyIsNull)
 For libpqxx internal use only: quote std::string.

PGSTD::string PQXX_LIBEXPORT Quote_charptr (const char Obj[], bool EmptyIsNull)
 For libpqxx internal use only: quote const char *.

void CheckUniqueRegistration (const namedclass *New, const namedclass *Old)
void CheckUniqueUnregistration (const namedclass *New, const namedclass *Old)


Detailed Description

Private namespace for libpqxx's internal use; do not access.

This namespace hides definitions internal to libpqxx. These are not supposed to be used by client programs, and may change at any time without notice.

Warning:
Here be dragons!


Function Documentation

void pqxx::internal::CheckUniqueRegistration const namedclass *  New,
const namedclass *  Old
 

void pqxx::internal::CheckUniqueUnregistration const namedclass *  New,
const namedclass *  Old
 

template<>
const char* FmtString char   ) 
 

template<>
const char* FmtString double   ) 
 

template<>
const char* FmtString float   ) 
 

template<>
const char * pqxx::internal::FmtString long  double  ) 
 

template<>
const char* FmtString int   ) 
 

template<>
const char * pqxx::internal::FmtString unsigned  char  ) 
 

template<>
const char* FmtString short   ) 
 

template<typename T>
const char* FmtString t  ) 
 

C-style format strings for various built-in types.

Only allowed for certain types, for which this function is explicitly specialized. When attempting to use the template for an unsupported type, the generic version will be instantiated. This will result in a link error for the symbol error_unsupported_type_in_string_conversion(), with a template argument describing the unsupported input type.

void pqxx::internal::FromString_bool const char  Str[],
bool &  Obj
 

For libpqxx internal use only: convert string to bool.

void pqxx::internal::FromString_string const char  Str[],
PGSTD::string &  Obj
 

For libpqxx internal use only: convert C string to C++ string.

void pqxx::internal::FromString_ucharptr const char  Str[],
const unsigned char *&  Obj
 

For libpqxx internal use only: convert unsigned char * to C++ string.

string pqxx::internal::Quote_charptr const char  Obj[],
bool  EmptyIsNull
 

For libpqxx internal use only: quote const char *.

string pqxx::internal::Quote_string const PGSTD::string &  Obj,
bool  EmptyIsNull
 

For libpqxx internal use only: quote std::string.


Generated on Thu Feb 19 22:04:40 2004 for libpqxx by doxygen 1.3.5