Public Member Functions | Private Attributes | List of all members
art::SQLErrMsg Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/IO/Root/RootDB/SQLErrMsg.h"

Public Member Functions

 SQLErrMsg ()
 
 ~SQLErrMsg ()
 
std::string msg () const
 
void throwIfError ()
 
void reset ()
 
 operator char ** ()
 

Private Attributes

char * errMsg_
 

Detailed Description

Definition at line 15 of file SQLErrMsg.h.

Constructor & Destructor Documentation

art::SQLErrMsg::SQLErrMsg ( )
inline

Definition at line 17 of file SQLErrMsg.h.

References string, and ~SQLErrMsg().

17 : errMsg_(nullptr) {}
char * errMsg_
Definition: SQLErrMsg.h:43
art::SQLErrMsg::~SQLErrMsg ( )

Referenced by SQLErrMsg().

Member Function Documentation

std::string art::SQLErrMsg::msg ( ) const
inline

Definition at line 22 of file SQLErrMsg.h.

References errMsg_, reset(), and throwIfError().

23  {
24  return errMsg_;
25  }
char * errMsg_
Definition: SQLErrMsg.h:43
art::SQLErrMsg::operator char ** ( )
inline

Definition at line 36 of file SQLErrMsg.h.

References errMsg_, and reset().

37  {
38  reset();
39  return &errMsg_;
40  }
char * errMsg_
Definition: SQLErrMsg.h:43
void art::SQLErrMsg::reset ( )

Referenced by msg(), and operator char **().

void art::SQLErrMsg::throwIfError ( )

Member Data Documentation

char* art::SQLErrMsg::errMsg_
private

Definition at line 43 of file SQLErrMsg.h.

Referenced by msg(), and operator char **().


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