libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::internal::gate::connection_transaction Class Reference

#include <connection-transaction.hxx>

Inheritance diagram for pqxx::internal::gate::connection_transaction:
Collaboration diagram for pqxx::internal::gate::connection_transaction:

Private Types

typedef connection_basereference
 A reference to the host class. Helps keep constructors easy. More...
 
typedef callgate< connection_basesuper
 This class, to keep constructors easy. More...
 

Private Member Functions

 connection_transaction (reference x)
 
void AddVariables (const PGSTD::map< PGSTD::string, PGSTD::string > &vars)
 
void EndCopyWrite ()
 
result Exec (const char query[], int retries)
 
reference home () const throw ()
 The home object. The gate class has full "private" access. More...
 
result prepared_exec (const PGSTD::string &statement, const char *const params[], const int paramlengths[], const int binaries[], int nparams)
 
bool prepared_exists (const PGSTD::string &statement) const
 
PGSTD::string RawGetVar (const PGSTD::string &var)
 
void RawSetVar (const PGSTD::string &var, const PGSTD::string &value)
 
bool ReadCopyLine (PGSTD::string &line)
 
void RegisterTransaction (transaction_base *t)
 
void take_reactivation_avoidance (int counter)
 
void UnregisterTransaction (transaction_base *t) throw ()
 
void WriteCopyLine (const PGSTD::string &line)
 

Friends

class pqxx::transaction_base
 

Member Typedef Documentation

A reference to the host class. Helps keep constructors easy.

This class, to keep constructors easy.

Constructor & Destructor Documentation

pqxx::internal::gate::connection_transaction::connection_transaction ( reference  x)
inlineprivate

Member Function Documentation

void pqxx::internal::gate::connection_transaction::AddVariables ( const PGSTD::map< PGSTD::string, PGSTD::string > &  vars)
inlineprivate
void pqxx::internal::gate::connection_transaction::EndCopyWrite ( )
inlineprivate
result pqxx::internal::gate::connection_transaction::Exec ( const char  query[],
int  retries 
)
inlineprivate
reference pqxx::internal::callgate< connection_base >::home ( ) const throw ()
inlineprotectedinherited

The home object. The gate class has full "private" access.

result pqxx::internal::gate::connection_transaction::prepared_exec ( const PGSTD::string &  statement,
const char *const  params[],
const int  paramlengths[],
const int  binaries[],
int  nparams 
)
inlineprivate
bool pqxx::internal::gate::connection_transaction::prepared_exists ( const PGSTD::string &  statement) const
inlineprivate
PGSTD::string pqxx::internal::gate::connection_transaction::RawGetVar ( const PGSTD::string &  var)
inlineprivate
void pqxx::internal::gate::connection_transaction::RawSetVar ( const PGSTD::string &  var,
const PGSTD::string &  value 
)
inlineprivate
bool pqxx::internal::gate::connection_transaction::ReadCopyLine ( PGSTD::string &  line)
inlineprivate
void pqxx::internal::gate::connection_transaction::RegisterTransaction ( transaction_base t)
inlineprivate
void pqxx::internal::gate::connection_transaction::take_reactivation_avoidance ( int  counter)
inlineprivate
void pqxx::internal::gate::connection_transaction::UnregisterTransaction ( transaction_base t) throw ()
inlineprivate
void pqxx::internal::gate::connection_transaction::WriteCopyLine ( const PGSTD::string &  line)
inlineprivate

Friends And Related Function Documentation

friend class pqxx::transaction_base
friend

The documentation for this class was generated from the following file: