Oracle ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
odb::oracle::transaction Class Reference
Inheritance diagram for odb::oracle::transaction:
odb::transaction

Public Types

typedef oracle::database database_type
 
typedef oracle::connection connection_type
 
typedef oracle::tracer tracer_type
 
- Public Types inherited from odb::transaction
typedef odb::database database_type
 
typedef odb::connection connection_type
 
typedef odb::tracer tracer_type
 
typedef void(* callback_type )(unsigned short event, void *key, unsigned long long data)
 

Public Member Functions

 transaction (transaction_impl *, bool make_current=true)
 
 transaction ()
 
database_typedatabase ()
 
connection_typeconnection ()
 
void tracer (tracer_type &t)
 
void tracer (tracer_type *t)
 
transaction_implimplementation ()
 
- Public Member Functions inherited from odb::transaction
 transaction (transaction_impl *, bool make_current=true)
 
 transaction ()
 
 ~transaction ()
 
void reset (transaction_impl *, bool make_current=true)
 
void commit ()
 
void rollback ()
 
database_typedatabase ()
 
connection_typeconnection ()
 
bool finalized () const
 
void tracer (tracer_type &)
 
void tracer (tracer_type *)
 
tracer_typetracer () const
 
void callback_register (callback_type, void *key, unsigned short event=event_all, unsigned long long data=0, transaction **state=0)
 
void callback_unregister (void *key)
 
void callback_update (void *key, unsigned short event, unsigned long long data=0, transaction **state=0)
 
transaction_implimplementation ()
 

Static Public Member Functions

static transactioncurrent ()
 
static void current (transaction &)
 
- Static Public Member Functions inherited from odb::transaction
static bool has_current ()
 
static transactioncurrent ()
 
static void current (transaction &)
 
static void reset_current ()
 

Additional Inherited Members

- Static Public Attributes inherited from odb::transaction
static const unsigned short event_commit
 
static const unsigned short event_rollback
 
static const unsigned short event_all
 
- Protected Member Functions inherited from odb::transaction
std::size_t callback_find (void *key)
 
void callback_call (unsigned short event)
 
- Protected Attributes inherited from odb::transaction
bool finalized_
 
details::unique_ptr
< transaction_impl
impl_
 
callback_data stack_callbacks_ [stack_callback_count]
 
std::vector< callback_datadyn_callbacks_
 
std::size_t free_callback_
 
std::size_t callback_count_
 
- Static Protected Attributes inherited from odb::transaction
static const std::size_t stack_callback_count
 
static const std::size_t max_callback_count
 

Member Typedef Documentation

Constructor & Destructor Documentation

odb::oracle::transaction::transaction ( transaction_impl ,
bool  make_current = true 
)
explicit
odb::oracle::transaction::transaction ( )

Member Function Documentation

database_type& odb::oracle::transaction::database ( )
connection_type& odb::oracle::transaction::connection ( )
static transaction& odb::oracle::transaction::current ( )
static
static void odb::oracle::transaction::current ( transaction )
static
void odb::oracle::transaction::tracer ( tracer_type t)
inline
void odb::oracle::transaction::tracer ( tracer_type t)
inline
transaction_impl& odb::oracle::transaction::implementation ( )

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