YAPOG  0.0.1
Yet Another Pokemon Online Game
pgs::pg_cnx Class Reference

#include <pgstream.hpp>

Collaboration diagram for pgs::pg_cnx:

List of all members.

Public Member Functions

 pg_cnx (PGconn *conn=NULL)
virtual ~pg_cnx ()
PGconn * conn ()
void connect (const char *cnx_string)
void set_option (const char *param, bool bvalue)
bool get_option (const char *param) const

Protected Attributes

bool m_default_prepare
bool m_inline_params
bool m_nested_trans

Private Member Functions

bool opt_true_false (const char *value, bool *b)

Private Attributes

PGconn * m_conn
std::string m_connect_string
bool m_destructor_close

Friends

class pg_stream
class pg_trans

Detailed Description

Definition at line 55 of file pgstream.hpp.


Constructor & Destructor Documentation

pgs::pg_cnx::pg_cnx ( PGconn *  conn = NULL)

Definition at line 960 of file pgstream.cpp.

pgs::pg_cnx::~pg_cnx ( )
virtual

Definition at line 999 of file pgstream.cpp.


Member Function Documentation

PGconn* pgs::pg_cnx::conn ( )
inline

Definition at line 62 of file pgstream.hpp.

Here is the caller graph for this function:

void pgs::pg_cnx::connect ( const char *  cnx_string)

Definition at line 1009 of file pgstream.cpp.

Here is the caller graph for this function:

bool pgs::pg_cnx::get_option ( const char *  param) const

Definition at line 985 of file pgstream.cpp.

bool pgs::pg_cnx::opt_true_false ( const char *  value,
bool *  b 
)
private
void pgs::pg_cnx::set_option ( const char *  param,
bool  bvalue 
)

Definition at line 970 of file pgstream.cpp.


Friends And Related Function Documentation

friend class pg_stream
friend

Definition at line 57 of file pgstream.hpp.

friend class pg_trans
friend

Definition at line 58 of file pgstream.hpp.


Member Data Documentation

PGconn* pgs::pg_cnx::m_conn
private

Definition at line 70 of file pgstream.hpp.

std::string pgs::pg_cnx::m_connect_string
private

Definition at line 71 of file pgstream.hpp.

bool pgs::pg_cnx::m_default_prepare
protected

Definition at line 80 of file pgstream.hpp.

bool pgs::pg_cnx::m_destructor_close
private

Definition at line 74 of file pgstream.hpp.

bool pgs::pg_cnx::m_inline_params
protected

Definition at line 86 of file pgstream.hpp.

bool pgs::pg_cnx::m_nested_trans
protected

Definition at line 89 of file pgstream.hpp.


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