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

connection_base.cxx File Reference

#include "pqxx/compiler.h"
#include <algorithm>
#include <cstdio>
#include <ctime>
#include <stdexcept>
#include <sys/types.h>
#include "libpq-fe.h"
#include "pqxx/connection_base"
#include "pqxx/nontransaction"
#include "pqxx/pipeline"
#include "pqxx/result"
#include "pqxx/transaction"
#include "pqxx/trigger"

Include dependency graph for connection_base.cxx:


Functions

void pqxxNoticeCaller (void *arg, const char *Msg)
 pqxx::connection_base::connection_base (const string &ConnInfo)
 pqxx::connection_base::connection_base (const char ConnInfo[])
int pqxx::connection_base::backendpid () const throw ()
void pqxx::connection_base::activate ()
void pqxx::connection_base::deactivate ()
void pqxx::connection_base::set_variable (const string &Var, const string &Value)
string pqxx::connection_base::get_variable (const string &Var)
string pqxx::connection_base::RawGetVar (const string &Var)
void pqxx::connection_base::SetupState ()
void pqxx::connection_base::disconnect () throw ()
bool pqxx::connection_base::is_open () const throw ()
auto_ptr< pqxx::noticerpqxx::connection_base::set_noticer (auto_ptr< noticer > N) throw ()
void pqxx::connection_base::process_notice_raw (const char msg[]) throw ()
void pqxx::connection_base::process_notice (const char msg[]) throw ()
void pqxx::connection_base::process_notice (const string &msg) throw ()
void pqxx::connection_base::trace (FILE *Out) throw ()
void pqxx::connection_base::AddTrigger (pqxx::trigger *T)
void pqxx::connection_base::RemoveTrigger (pqxx::trigger *T) throw ()
void pqxx::connection_base::consume_input () throw ()
bool pqxx::connection_base::is_busy () const throw ()
int pqxx::connection_base::get_notifs ()
const char * pqxx::connection_base::dbname ()
const char * pqxx::connection_base::username ()
const char * pqxx::connection_base::hostname ()
const char * pqxx::connection_base::port ()
const char * pqxx::connection_base::ErrMsg () const throw ()
pqxx::result pqxx::connection_base::Exec (const char Query[], int Retries)
void pqxx::connection_base::pq_prepare (const string &name, const string &def, const string &params)
void pqxx::connection_base::unprepare (const string &name)
pqxx::result pqxx::connection_base::pq_exec_prepared (const string &pname, int nparams, const char *const *params)
void pqxx::connection_base::Reset ()
void pqxx::connection_base::close () throw ()
void pqxx::connection_base::RawSetVar (const string &Var, const string &Value)
void pqxx::connection_base::AddVariables (const map< string, string > &Vars)
void pqxx::connection_base::InternalSetTrace () throw ()
int pqxx::connection_base::Status () const throw ()
void pqxx::connection_base::RegisterTransaction (transaction_base *T)
void pqxx::connection_base::UnregisterTransaction (transaction_base *T) throw ()
void pqxx::connection_base::MakeEmpty (pqxx::result &R)
bool pqxx::connection_base::ReadCopyLine (string &Line)
void pqxx::connection_base::WriteCopyLine (const string &Line)
void pqxx::connection_base::EndCopyWrite ()
void pqxx::connection_base::start_exec (const string &Q)
pqxx::internal::pq::PGresultpqxx::connection_base::get_result ()
int pqxx::connection_base::set_fdmask () const
void pqxx::connection_base::clear_fdmask () throw ()
void pqxx::connection_base::wait_read () const
void pqxx::connection_base::wait_read (long seconds, long microseconds) const
void pqxx::connection_base::wait_write () const
int pqxx::connection_base::await_notification ()
int pqxx::connection_base::await_notification (long seconds, long microseconds)

Function Documentation

void pqxx::connection_base::activate  ) 
 

void pqxx::connection_base::AddTrigger pqxx::trigger T  ) 
 

void pqxx::connection_base::AddVariables const map< string, string > &  Vars  ) 
 

int pqxx::connection_base::await_notification long  seconds,
long  microseconds
 

int pqxx::connection_base::await_notification  ) 
 

int pqxx::connection_base::backendpid  )  const throw ()
 

void pqxx::connection_base::clear_fdmask  )  throw ()
 

void pqxx::connection_base::close  )  throw ()
 

pqxx::connection_base::connection_base const char  ConnInfo[]  ) 
 

pqxx::connection_base::connection_base const string &  ConnInfo  ) 
 

void pqxx::connection_base::consume_input  )  throw ()
 

const char* pqxx::connection_base::dbname  ) 
 

void pqxx::connection_base::deactivate  ) 
 

void pqxx::connection_base::disconnect  )  throw ()
 

void pqxx::connection_base::EndCopyWrite  ) 
 

const char* pqxx::connection_base::ErrMsg  )  const throw ()
 

pqxx::result pqxx::connection_base::Exec const char  Query[],
int  Retries
 

int pqxx::connection_base::get_notifs  ) 
 

pqxx::internal::pq::PGresult* pqxx::connection_base::get_result  ) 
 

string pqxx::connection_base::get_variable const string &  Var  ) 
 

const char* pqxx::connection_base::hostname  ) 
 

void pqxx::connection_base::InternalSetTrace  )  throw ()
 

bool pqxx::connection_base::is_busy  )  const throw ()
 

bool pqxx::connection_base::is_open  )  const throw ()
 

void pqxx::connection_base::MakeEmpty pqxx::result R  ) 
 

const char* pqxx::connection_base::port  ) 
 

pqxx::result pqxx::connection_base::pq_exec_prepared const string &  pname,
int  nparams,
const char *const *  params
 

void pqxx::connection_base::pq_prepare const string &  name,
const string &  def,
const string &  params
 

void pqxx::connection_base::process_notice const string &  msg  )  throw ()
 

void pqxx::connection_base::process_notice const char  msg[]  )  throw ()
 

void pqxx::connection_base::process_notice_raw const char  msg[]  )  throw ()
 

string pqxx::connection_base::RawGetVar const string &  Var  ) 
 

void pqxx::connection_base::RawSetVar const string &  Var,
const string &  Value
 

bool pqxx::connection_base::ReadCopyLine string &  Line  ) 
 

void pqxx::connection_base::RegisterTransaction transaction_base *  T  ) 
 

void pqxx::connection_base::RemoveTrigger pqxx::trigger T  )  throw ()
 

void pqxx::connection_base::Reset  ) 
 

int pqxx::connection_base::set_fdmask  )  const
 

auto_ptr<pqxx::noticer> pqxx::connection_base::set_noticer auto_ptr< noticer >  N  )  throw ()
 

void pqxx::connection_base::set_variable const string &  Var,
const string &  Value
 

void pqxx::connection_base::SetupState  ) 
 

Set up various parts of logical connection state that may need to be recovered because the physical connection to the database was lost and is being reset, or that may not have been initialized yet.

void pqxx::connection_base::start_exec const string &  Q  ) 
 

int pqxx::connection_base::Status  )  const throw ()
 

void pqxx::connection_base::trace FILE *  Out  )  throw ()
 

void pqxx::connection_base::unprepare const string &  name  ) 
 

void pqxx::connection_base::UnregisterTransaction transaction_base *  T  )  throw ()
 

const char* pqxx::connection_base::username  ) 
 

void pqxx::connection_base::wait_read long  seconds,
long  microseconds
const
 

void pqxx::connection_base::wait_read  )  const
 

void pqxx::connection_base::wait_write  )  const
 

void pqxx::connection_base::WriteCopyLine const string &  Line  ) 
 

void pqxxNoticeCaller void *  arg,
const char *  Msg
 


Generated on Fri May 6 17:10:20 2005 for libpqxx by  doxygen 1.4.2