/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
DbiExceptionLog Class Reference

#include <DbiExceptionLog.h>

Collaboration diagram for DbiExceptionLog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DbiExceptionLog (const DbiException *e=0)
virtual ~DbiExceptionLog ()
Bool_t IsEmpty () const
const std::vector< DbiException > & GetEntries () const
void Print () const
UInt_t Size () const
void Copy (DbiExceptionLog &that, UInt_t start=0) const
void AddLog (const DbiExceptionLog &el)
void AddEntry (const DbiException &e)
void AddEntry (const char *errMsg, Int_t code=-1, Int_t dbType=-1)
void AddEntry (const std::string &errMsg, Int_t code=-1, Int_t dbType=-1)
void AddEntry (const TSQLServer &server, Int_t dbType=-1)
void AddEntry (const TSQLStatement &statement, Int_t dbType=-1)
void Clear ()

Static Public Member Functions

static DbiExceptionLogGetGELog ()

Private Attributes

std::vector< DbiExceptionfEntries
 The exception entries.

Static Private Attributes

static DbiExceptionLog fgGELog
 Global Exception Log.

Detailed Description

Id:
DbiExceptionLog.h,v 1.5 2007/04/26 14:19:57 west Exp

Definition at line 44 of file DbiExceptionLog.h.


Constructor & Destructor Documentation

DbiExceptionLog::DbiExceptionLog ( const DbiException e = 0)
virtual DbiExceptionLog::~DbiExceptionLog ( ) [virtual]

Member Function Documentation

Bool_t DbiExceptionLog::IsEmpty ( ) const [inline]

Definition at line 54 of file DbiExceptionLog.h.

{ return fEntries.size() == 0; }
const std::vector<DbiException>& DbiExceptionLog::GetEntries ( ) const [inline]

Definition at line 56 of file DbiExceptionLog.h.

{ return fEntries; }
void DbiExceptionLog::Print ( ) const
UInt_t DbiExceptionLog::Size ( ) const [inline]

Definition at line 58 of file DbiExceptionLog.h.

{ return fEntries.size(); }
void DbiExceptionLog::Copy ( DbiExceptionLog that,
UInt_t  start = 0 
) const
void DbiExceptionLog::AddLog ( const DbiExceptionLog el)
void DbiExceptionLog::AddEntry ( const DbiException e) [inline]

Definition at line 64 of file DbiExceptionLog.h.

{ fEntries.push_back(e); }
void DbiExceptionLog::AddEntry ( const char *  errMsg,
Int_t  code = -1,
Int_t  dbType = -1 
) [inline]

Definition at line 65 of file DbiExceptionLog.h.

                                                                       {
   this->AddEntry(DbiException(errMsg,code,dbType));}
void DbiExceptionLog::AddEntry ( const std::string &  errMsg,
Int_t  code = -1,
Int_t  dbType = -1 
) [inline]

Definition at line 67 of file DbiExceptionLog.h.

                                                                            {
   this->AddEntry(DbiException(errMsg.c_str(),code,dbType));}
void DbiExceptionLog::AddEntry ( const TSQLServer &  server,
Int_t  dbType = -1 
) [inline]

Definition at line 69 of file DbiExceptionLog.h.

                                                            {
   this->AddEntry(DbiException(server,dbType));}
void DbiExceptionLog::AddEntry ( const TSQLStatement &  statement,
Int_t  dbType = -1 
) [inline]

Definition at line 71 of file DbiExceptionLog.h.

                                                                  {
   this->AddEntry(DbiException(statement,dbType));}
void DbiExceptionLog::Clear ( ) [inline]

Definition at line 73 of file DbiExceptionLog.h.

{ fEntries.clear(); }
static DbiExceptionLog& DbiExceptionLog::GetGELog ( ) [inline, static]

Definition at line 76 of file DbiExceptionLog.h.

{ return fgGELog;}

Member Data Documentation

std::vector<DbiException> DbiExceptionLog::fEntries [private]

The exception entries.

Definition at line 86 of file DbiExceptionLog.h.

Global Exception Log.

Definition at line 89 of file DbiExceptionLog.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:45 for DatabaseInterface by doxygen 1.7.4