NCBI C++ ToolKit
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CAutoTrans Class Reference

Search Toolkit Book for CAutoTrans

#include <dbapi/driver/public.hpp>

+ Collaboration diagram for CAutoTrans:

Classes

class  CSubject
 Helper class to allow safe initialization from higher-layer objects. More...
 

Public Member Functions

 CAutoTrans (const CSubject &subject)
 
 ~CAutoTrans (void)
 
bool Continue (void) const
 
void Finish (void)
 

Private Member Functions

 CAutoTrans (const CAutoTrans &)
 
CAutoTransoperator= (const CAutoTrans &)
 
void BeginTransaction (void)
 
void Commit (void)
 
void Rollback (void)
 
int GetTranCount (void)
 

Private Attributes

bool m_Abort
 
CDB_Connectionm_Conn
 
int m_TranCount
 
string m_SavepointName
 

Detailed Description

Definition at line 1052 of file public.hpp.


The documentation for this class was generated from the following files:
Modified on Sun Feb 25 03:00:19 2024 by modify_doxy.py rev. 669887