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

pqxx::transaction< ISOLATIONLEVEL > Class Template Reference

Standard back-end transaction, templatized on isolation level. More...

#include <transaction.hxx>

Inheritance diagram for pqxx::transaction< ISOLATIONLEVEL >:

pqxx::basic_transaction pqxx::dbtransaction pqxx::transaction_base pqxx::internal::namedclass List of all members.

Public Types

typedef isolation_traits<
ISOLATIONLEVEL > 
isolation_tag
 If nothing else is known, our isolation level is at least read_committed.


Public Member Functions

 transaction (connection_base &C, const PGSTD::string &TName=PGSTD::string())
virtual ~transaction () throw ()

Protected Member Functions

virtual const char * classname () const throw ()

Detailed Description

template<isolation_level ISOLATIONLEVEL = read_committed>
class pqxx::transaction< ISOLATIONLEVEL >

Standard back-end transaction, templatized on isolation level.

This is the type you'll normally want to use to represent a transaction on the database.


Member Typedef Documentation

template<isolation_level ISOLATIONLEVEL = read_committed>
typedef isolation_traits<ISOLATIONLEVEL> pqxx::transaction< ISOLATIONLEVEL >::isolation_tag
 

If nothing else is known, our isolation level is at least read_committed.

Reimplemented from pqxx::transaction_base.


Constructor & Destructor Documentation

template<isolation_level ISOLATIONLEVEL = read_committed>
pqxx::transaction< ISOLATIONLEVEL >::transaction connection_base C,
const PGSTD::string &  TName = PGSTD::string()
[explicit]
 

Create a transaction. The optional name, if given, must begin with a letter and may contain letters and digits only.

template<isolation_level ISOLATIONLEVEL = read_committed>
virtual pqxx::transaction< ISOLATIONLEVEL >::~transaction  )  throw () [virtual]
 


Member Function Documentation

template<isolation_level ISOLATIONLEVEL = read_committed>
virtual const char* pqxx::transaction< ISOLATIONLEVEL >::classname  )  const throw () [protected, virtual]
 

Reimplemented from pqxx::internal::namedclass.


The documentation for this class was generated from the following file:
Generated on Mon May 10 13:19:12 2004 for libpqxx by doxygen 1.3.6-20040222