TSQLStatement Class Reference

#include <TSQLStatement.h>

Inheritance diagram for TSQLStatement:

TObject TObject TMySQLStatement TODBCStatement TOracleStatement TPgSQLStatement List of all members.

Public Member Functions

virtual ~TSQLStatement ()
virtual Int_t GetBufferLength () const=0
virtual Int_t GetNumParameters ()=0
virtual Bool_t NextIteration ()=0
virtual Bool_t SetNull (Int_t)
virtual Bool_t SetInt (Int_t, Int_t)
virtual Bool_t SetUInt (Int_t, UInt_t)
virtual Bool_t SetLong (Int_t, Long_t)
virtual Bool_t SetLong64 (Int_t, Long64_t)
virtual Bool_t SetULong64 (Int_t, ULong64_t)
virtual Bool_t SetDouble (Int_t, Double_t)
virtual Bool_t SetString (Int_t, const char *, Int_t=256)
virtual Bool_t SetDate (Int_t, Int_t, Int_t, Int_t)
Bool_t SetDate (Int_t, const TDatime &)
virtual Bool_t SetTime (Int_t, Int_t, Int_t, Int_t)
Bool_t SetTime (Int_t, const TDatime &)
virtual Bool_t SetDatime (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t)
Bool_t SetDatime (Int_t, const TDatime &)
virtual Bool_t SetTimestamp (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t=0)
Bool_t SetTimestamp (Int_t, const TDatime &)
virtual void SetTimeFormating (const char *)
virtual Bool_t SetBinary (Int_t, void *, Long_t, Long_t=0x1000)
virtual Bool_t SetVInt (Int_t, const std::vector< Int_t >, const char *, const char *)
virtual Bool_t SetVUInt (Int_t, const std::vector< UInt_t >, const char *, const char *)
virtual Bool_t SetVLong (Int_t, const std::vector< Long_t >, const char *, const char *)
virtual Bool_t SetVLong64 (Int_t, const std::vector< Long64_t >, const char *, const char *)
virtual Bool_t SetVULong64 (Int_t, const std::vector< ULong64_t >, const char *, const char *)
virtual Bool_t SetVDouble (Int_t, const std::vector< Double_t >, const char *, const char *)
virtual Bool_t Process ()=0
virtual Int_t GetNumAffectedRows ()
virtual Bool_t StoreResult ()=0
virtual Int_t GetNumFields ()=0
virtual const char * GetFieldName (Int_t)=0
virtual Bool_t SetMaxFieldSize (Int_t, Long_t)
virtual Bool_t NextResultRow ()=0
virtual Bool_t IsNull (Int_t)
virtual Int_t GetInt (Int_t)
virtual UInt_t GetUInt (Int_t)
virtual Long_t GetLong (Int_t)
virtual Long64_t GetLong64 (Int_t)
virtual ULong64_t GetULong64 (Int_t)
virtual Double_t GetDouble (Int_t)
virtual const char * GetString (Int_t)
virtual Bool_t GetBinary (Int_t, void *&, Long_t &)
virtual Bool_t GetDate (Int_t, Int_t &, Int_t &, Int_t &)
virtual Bool_t GetTime (Int_t, Int_t &, Int_t &, Int_t &)
virtual Bool_t GetDatime (Int_t, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
TDatime GetDatime (Int_t)
Int_t GetYear (Int_t)
Int_t GetMonth (Int_t)
Int_t GetDay (Int_t)
Int_t GetHour (Int_t)
Int_t GetMinute (Int_t)
Int_t GetSecond (Int_t)
virtual Bool_t GetTimestamp (Int_t, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
TDatime GetTimestamp (Int_t)
virtual Bool_t GetVInt (Int_t, std::vector< Int_t > &)
virtual Bool_t GetVUInt (Int_t, std::vector< UInt_t > &)
virtual Bool_t GetVLong (Int_t, std::vector< Long_t > &)
virtual Bool_t GetVLong64 (Int_t, std::vector< Long64_t > &)
virtual Bool_t GetVULong64 (Int_t, std::vector< ULong64_t > &)
virtual Bool_t GetVDouble (Int_t, std::vector< Double_t > &)
virtual Bool_t IsError () const
virtual Int_t GetErrorCode () const
virtual const char * GetErrorMsg () const
virtual void EnableErrorOutput (Bool_t on=kTRUE)
virtual ~TSQLStatement ()
virtual Int_t GetBufferLength () const=0
virtual Int_t GetNumParameters ()=0
virtual Bool_t NextIteration ()=0
virtual Bool_t SetNull (Int_t)
virtual Bool_t SetInt (Int_t, Int_t)
virtual Bool_t SetUInt (Int_t, UInt_t)
virtual Bool_t SetLong (Int_t, Long_t)
virtual Bool_t SetLong64 (Int_t, Long64_t)
virtual Bool_t SetULong64 (Int_t, ULong64_t)
virtual Bool_t SetDouble (Int_t, Double_t)
virtual Bool_t SetString (Int_t, const char *, Int_t=256)
virtual Bool_t SetDate (Int_t, Int_t, Int_t, Int_t)
Bool_t SetDate (Int_t, const TDatime &)
virtual Bool_t SetTime (Int_t, Int_t, Int_t, Int_t)
Bool_t SetTime (Int_t, const TDatime &)
virtual Bool_t SetDatime (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t)
Bool_t SetDatime (Int_t, const TDatime &)
virtual Bool_t SetTimestamp (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Int_t=0)
Bool_t SetTimestamp (Int_t, const TDatime &)
virtual void SetTimeFormating (const char *)
virtual Bool_t SetBinary (Int_t, void *, Long_t, Long_t=0x1000)
virtual Bool_t SetVInt (Int_t, const std::vector< Int_t >, const char *, const char *)
virtual Bool_t SetVUInt (Int_t, const std::vector< UInt_t >, const char *, const char *)
virtual Bool_t SetVLong (Int_t, const std::vector< Long_t >, const char *, const char *)
virtual Bool_t SetVLong64 (Int_t, const std::vector< Long64_t >, const char *, const char *)
virtual Bool_t SetVULong64 (Int_t, const std::vector< ULong64_t >, const char *, const char *)
virtual Bool_t SetVDouble (Int_t, const std::vector< Double_t >, const char *, const char *)
virtual Bool_t Process ()=0
virtual Int_t GetNumAffectedRows ()
virtual Bool_t StoreResult ()=0
virtual Int_t GetNumFields ()=0
virtual const char * GetFieldName (Int_t)=0
virtual Bool_t SetMaxFieldSize (Int_t, Long_t)
virtual Bool_t NextResultRow ()=0
virtual Bool_t IsNull (Int_t)
virtual Int_t GetInt (Int_t)
virtual UInt_t GetUInt (Int_t)
virtual Long_t GetLong (Int_t)
virtual Long64_t GetLong64 (Int_t)
virtual ULong64_t GetULong64 (Int_t)
virtual Double_t GetDouble (Int_t)
virtual const char * GetString (Int_t)
virtual Bool_t GetBinary (Int_t, void *&, Long_t &)
virtual Bool_t GetDate (Int_t, Int_t &, Int_t &, Int_t &)
virtual Bool_t GetTime (Int_t, Int_t &, Int_t &, Int_t &)
virtual Bool_t GetDatime (Int_t, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
TDatime GetDatime (Int_t)
Int_t GetYear (Int_t)
Int_t GetMonth (Int_t)
Int_t GetDay (Int_t)
Int_t GetHour (Int_t)
Int_t GetMinute (Int_t)
Int_t GetSecond (Int_t)
virtual Bool_t GetTimestamp (Int_t, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &, Int_t &)
TDatime GetTimestamp (Int_t)
virtual Bool_t GetVInt (Int_t, std::vector< Int_t > &)
virtual Bool_t GetVUInt (Int_t, std::vector< UInt_t > &)
virtual Bool_t GetVLong (Int_t, std::vector< Long_t > &)
virtual Bool_t GetVLong64 (Int_t, std::vector< Long64_t > &)
virtual Bool_t GetVULong64 (Int_t, std::vector< ULong64_t > &)
virtual Bool_t GetVDouble (Int_t, std::vector< Double_t > &)
virtual Bool_t IsError () const
virtual Int_t GetErrorCode () const
virtual const char * GetErrorMsg () const
virtual void EnableErrorOutput (Bool_t on=kTRUE)

Protected Member Functions

 TSQLStatement (Bool_t errout=kTRUE)
void ClearError ()
void SetError (Int_t code, const char *msg, const char *method=0)
 TSQLStatement (Bool_t errout=kTRUE)
void ClearError ()
void SetError (Int_t code, const char *msg, const char *method=0)

Protected Attributes

Int_t fErrorCode
TString fErrorMsg
Bool_t fErrorOut

Detailed Description

Definition at line 26 of file TSQLStatement.h.


Constructor & Destructor Documentation

TSQLStatement::TSQLStatement ( Bool_t  errout = kTRUE  )  [inline, protected]

Definition at line 29 of file TSQLStatement.h.

References ClearError().

virtual TSQLStatement::~TSQLStatement (  )  [inline, virtual]

Definition at line 40 of file TSQLStatement.h.

TSQLStatement::TSQLStatement ( Bool_t  errout = kTRUE  )  [inline, protected]

Definition at line 29 of file TSQLStatement.h.

References ClearError().

virtual TSQLStatement::~TSQLStatement (  )  [inline, virtual]

Definition at line 40 of file TSQLStatement.h.


Member Function Documentation

void TSQLStatement::ClearError (  )  [protected]

Definition at line 227 of file TSQLStatement.cxx.

References fErrorCode, and fErrorMsg.

Referenced by TODBCStatement::BindColumn(), TODBCStatement::BindParam(), TODBCStatement::GetFieldName(), TODBCStatement::GetNumAffectedRows(), TODBCStatement::GetParAddr(), TODBCStatement::NextIteration(), TODBCStatement::NextResultRow(), TOracleStatement::NextResultRow(), TODBCStatement::Process(), TODBCStatement::StoreResult(), and TSQLStatement().

void TSQLStatement::SetError ( Int_t  code,
const char *  msg,
const char *  method = 0 
) [protected]

Definition at line 236 of file TSQLStatement.cxx.

References TObject::Error(), fErrorCode, fErrorMsg, and fErrorOut.

Referenced by TODBCStatement::BindColumn(), TODBCStatement::BindParam(), TODBCStatement::ExtractErrors(), TOracleStatement::GetBinary(), GetDatime(), TOracleStatement::GetDatime(), TOracleStatement::GetDouble(), TOracleStatement::GetInt(), TOracleStatement::GetLong(), TOracleStatement::GetLong64(), TOracleStatement::GetNumAffectedRows(), TODBCStatement::GetParAddr(), TODBCStatement::GetString(), TOracleStatement::GetString(), TOracleStatement::GetTimestamp(), GetTimestamp(), TOracleStatement::GetUInt(), TOracleStatement::GetULong64(), TOracleStatement::GetVDouble(), TOracleStatement::GetVInt(), TOracleStatement::GetVLong(), TOracleStatement::GetVLong64(), TOracleStatement::GetVUInt(), TOracleStatement::GetVULong64(), TOracleStatement::IsNull(), TOracleStatement::NextIteration(), TODBCStatement::NextResultRow(), TOracleStatement::NextResultRow(), TOracleStatement::Process(), TOracleStatement::SetBinary(), TOracleStatement::SetDate(), TOracleStatement::SetDatime(), TOracleStatement::SetDouble(), TOracleStatement::SetInt(), TOracleStatement::SetLong(), TOracleStatement::SetLong64(), TOracleStatement::SetMaxFieldSize(), TOracleStatement::SetNull(), TOracleStatement::SetString(), TOracleStatement::SetTime(), TOracleStatement::SetTimestamp(), TOracleStatement::SetUInt(), TOracleStatement::SetULong64(), TOracleStatement::SetVDouble(), TOracleStatement::SetVInt(), TOracleStatement::SetVLong(), TOracleStatement::SetVLong64(), TOracleStatement::SetVUInt(), TOracleStatement::SetVULong64(), TODBCStatement::StoreResult(), and TOracleStatement::StoreResult().

virtual Int_t TSQLStatement::GetBufferLength (  )  const [pure virtual]

virtual Int_t TSQLStatement::GetNumParameters (  )  [pure virtual]

virtual Bool_t TSQLStatement::NextIteration (  )  [pure virtual]

Referenced by TSqlRawBuffer::AddLine(), TSqlRegistry::AddRegCmd(), and TSqlRegistry::InsertToNormalTableOracle().

virtual Bool_t TSQLStatement::SetNull ( Int_t   )  [inline, virtual]

Definition at line 47 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetInt ( Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 48 of file TSQLStatement.h.

References kFALSE.

Referenced by TSqlRawBuffer::AddLine(), and TSqlRegistry::AddRegCmd().

virtual Bool_t TSQLStatement::SetUInt ( Int_t  ,
UInt_t   
) [inline, virtual]

Definition at line 49 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetLong ( Int_t  ,
Long_t   
) [inline, virtual]

Definition at line 50 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetLong64 ( Int_t  ,
Long64_t   
) [inline, virtual]

Definition at line 51 of file TSQLStatement.h.

References kFALSE.

Referenced by TSqlRawBuffer::AddLine(), and TSqlRegistry::AddRegCmd().

virtual Bool_t TSQLStatement::SetULong64 ( Int_t  ,
ULong64_t   
) [inline, virtual]

Definition at line 52 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetDouble ( Int_t  ,
Double_t   
) [inline, virtual]

Definition at line 53 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetString ( Int_t  ,
const char *  ,
Int_t  = 256 
) [inline, virtual]

Definition at line 54 of file TSQLStatement.h.

References kFALSE.

Referenced by TSqlRawBuffer::AddLine(), TSqlRegistry::AddRegCmd(), and TSqlRegistry::InsertToNormalTableOracle().

virtual Bool_t TSQLStatement::SetDate ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 55 of file TSQLStatement.h.

References kFALSE.

Referenced by SetDate().

Bool_t TSQLStatement::SetDate ( Int_t  ,
const TDatime  
)

Definition at line 248 of file TSQLStatement.cxx.

References TDatime::GetDay(), TDatime::GetMonth(), TDatime::GetYear(), and SetDate().

virtual Bool_t TSQLStatement::SetTime ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 57 of file TSQLStatement.h.

References kFALSE.

Referenced by SetTime().

Bool_t TSQLStatement::SetTime ( Int_t  ,
const TDatime  
)

Definition at line 256 of file TSQLStatement.cxx.

References TDatime::GetHour(), TDatime::GetMinute(), TDatime::GetSecond(), and SetTime().

virtual Bool_t TSQLStatement::SetDatime ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 59 of file TSQLStatement.h.

References kFALSE.

Referenced by SetDatime().

Bool_t TSQLStatement::SetDatime ( Int_t  ,
const TDatime  
)

Definition at line 264 of file TSQLStatement.cxx.

References TDatime::GetDay(), TDatime::GetHour(), TDatime::GetMinute(), TDatime::GetMonth(), TDatime::GetSecond(), TDatime::GetYear(), and SetDatime().

virtual Bool_t TSQLStatement::SetTimestamp ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  = 0 
) [inline, virtual]

Definition at line 61 of file TSQLStatement.h.

References kFALSE.

Referenced by SetTimestamp().

Bool_t TSQLStatement::SetTimestamp ( Int_t  ,
const TDatime  
)

Definition at line 273 of file TSQLStatement.cxx.

References TDatime::GetDay(), TDatime::GetHour(), TDatime::GetMinute(), TDatime::GetMonth(), TDatime::GetSecond(), TDatime::GetYear(), and SetTimestamp().

virtual void TSQLStatement::SetTimeFormating ( const char *   )  [inline, virtual]

Definition at line 63 of file TSQLStatement.h.

virtual Bool_t TSQLStatement::SetBinary ( Int_t  ,
void *  ,
Long_t  ,
Long_t  = 0x1000 
) [inline, virtual]

Definition at line 64 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVInt ( Int_t  ,
const std::vector< Int_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 66 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVUInt ( Int_t  ,
const std::vector< UInt_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 67 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVLong ( Int_t  ,
const std::vector< Long_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 68 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVLong64 ( Int_t  ,
const std::vector< Long64_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 69 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVULong64 ( Int_t  ,
const std::vector< ULong64_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 70 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVDouble ( Int_t  ,
const std::vector< Double_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 71 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::Process (  )  [pure virtual]

Referenced by TSqlRegistry::ConvertPoolValues(), TSQLFile::GetBlobClassDataStmt(), TOracleServer::GetTableInfo(), TOracleServer::GetTablesList(), TOracleServer::ServerInfo(), TSQLFile::SQLObjectsInfo(), and TSqlRawBuffer::~TSqlRawBuffer().

virtual Int_t TSQLStatement::GetNumAffectedRows (  )  [inline, virtual]

Definition at line 75 of file TSQLStatement.h.

virtual Bool_t TSQLStatement::StoreResult (  )  [pure virtual]

Referenced by TSQLFile::GetBlobClassDataStmt(), TOracleServer::GetTableInfo(), TOracleServer::GetTablesList(), TOracleServer::ServerInfo(), and TSQLFile::SQLObjectsInfo().

virtual Int_t TSQLStatement::GetNumFields (  )  [pure virtual]

virtual const char* TSQLStatement::GetFieldName ( Int_t   )  [pure virtual]

virtual Bool_t TSQLStatement::SetMaxFieldSize ( Int_t  ,
Long_t   
) [inline, virtual]

Definition at line 80 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::NextResultRow (  )  [pure virtual]

Referenced by TOracleServer::GetTableInfo(), TOracleServer::GetTablesList(), TOracleServer::ServerInfo(), TSQLObjectData::ShiftBlobRow(), and TSQLFile::SQLObjectsInfo().

virtual Bool_t TSQLStatement::IsNull ( Int_t   )  [inline, virtual]

Definition at line 83 of file TSQLStatement.h.

References kTRUE.

virtual Int_t TSQLStatement::GetInt ( Int_t   )  [inline, virtual]

Definition at line 84 of file TSQLStatement.h.

Referenced by TOracleServer::GetTableInfo(), and TSQLFile::SQLObjectsInfo().

virtual UInt_t TSQLStatement::GetUInt ( Int_t   )  [inline, virtual]

Definition at line 85 of file TSQLStatement.h.

virtual Long_t TSQLStatement::GetLong ( Int_t   )  [inline, virtual]

Definition at line 86 of file TSQLStatement.h.

virtual Long64_t TSQLStatement::GetLong64 ( Int_t   )  [inline, virtual]

Definition at line 87 of file TSQLStatement.h.

Referenced by TSQLFile::SQLObjectsInfo().

virtual ULong64_t TSQLStatement::GetULong64 ( Int_t   )  [inline, virtual]

Definition at line 88 of file TSQLStatement.h.

virtual Double_t TSQLStatement::GetDouble ( Int_t   )  [inline, virtual]

Definition at line 89 of file TSQLStatement.h.

virtual const char* TSQLStatement::GetString ( Int_t   )  [inline, virtual]

Definition at line 90 of file TSQLStatement.h.

Referenced by TSQLObjectData::ExtractBlobValues(), TOracleServer::GetTableInfo(), TOracleServer::GetTablesList(), TOracleServer::ServerInfo(), and TSQLFile::SQLObjectsInfo().

virtual Bool_t TSQLStatement::GetBinary ( Int_t  ,
void *&  ,
Long_t  
) [inline, virtual]

Definition at line 91 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetDate ( Int_t  ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 93 of file TSQLStatement.h.

References kFALSE.

Referenced by GetDay(), GetMonth(), and GetYear().

virtual Bool_t TSQLStatement::GetTime ( Int_t  ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 94 of file TSQLStatement.h.

References kFALSE.

Referenced by GetHour(), GetMinute(), and GetSecond().

virtual Bool_t TSQLStatement::GetDatime ( Int_t  ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 95 of file TSQLStatement.h.

References kFALSE.

Referenced by GetDatime().

TDatime TSQLStatement::GetDatime ( Int_t   ) 

Definition at line 282 of file TSQLStatement.cxx.

References GetDatime(), min, and SetError().

Int_t TSQLStatement::GetYear ( Int_t   ) 

Definition at line 301 of file TSQLStatement.cxx.

References GetDate(), GetTimestamp(), and min.

Int_t TSQLStatement::GetMonth ( Int_t   ) 

Definition at line 312 of file TSQLStatement.cxx.

References GetDate(), GetTimestamp(), and min.

Int_t TSQLStatement::GetDay ( Int_t   ) 

Definition at line 323 of file TSQLStatement.cxx.

References GetDate(), GetTimestamp(), and min.

Int_t TSQLStatement::GetHour ( Int_t   ) 

Definition at line 334 of file TSQLStatement.cxx.

References GetTime(), GetTimestamp(), and min.

Int_t TSQLStatement::GetMinute ( Int_t   ) 

Definition at line 345 of file TSQLStatement.cxx.

References GetTime(), GetTimestamp(), and min.

Int_t TSQLStatement::GetSecond ( Int_t   ) 

Definition at line 356 of file TSQLStatement.cxx.

References GetTime(), GetTimestamp(), and min.

virtual Bool_t TSQLStatement::GetTimestamp ( Int_t  ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 103 of file TSQLStatement.h.

References kFALSE.

Referenced by GetDay(), GetHour(), GetMinute(), GetMonth(), GetSecond(), GetTimestamp(), and GetYear().

TDatime TSQLStatement::GetTimestamp ( Int_t   ) 

Definition at line 367 of file TSQLStatement.cxx.

References GetTimestamp(), min, and SetError().

virtual Bool_t TSQLStatement::GetVInt ( Int_t  ,
std::vector< Int_t > &   
) [inline, virtual]

Definition at line 106 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVUInt ( Int_t  ,
std::vector< UInt_t > &   
) [inline, virtual]

Definition at line 107 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVLong ( Int_t  ,
std::vector< Long_t > &   
) [inline, virtual]

Definition at line 108 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVLong64 ( Int_t  ,
std::vector< Long64_t > &   
) [inline, virtual]

Definition at line 109 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVULong64 ( Int_t  ,
std::vector< ULong64_t > &   
) [inline, virtual]

Definition at line 110 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVDouble ( Int_t  ,
std::vector< Double_t > &   
) [inline, virtual]

Definition at line 111 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::IsError (  )  const [inline, virtual]

Definition at line 114 of file TSQLStatement.h.

References GetErrorCode().

Referenced by TODBCStatement::NextResultRow().

virtual Int_t TSQLStatement::GetErrorCode (  )  const [virtual]

Referenced by GetErrorMsg(), and IsError().

const char * TSQLStatement::GetErrorMsg (  )  const [virtual]

Definition at line 217 of file TSQLStatement.cxx.

References TString::Data(), fErrorMsg, and GetErrorCode().

virtual void TSQLStatement::EnableErrorOutput ( Bool_t  on = kTRUE  )  [inline, virtual]

Definition at line 117 of file TSQLStatement.h.

References fErrorOut.

Referenced by TOracleServer::ServerInfo().

void TSQLStatement::ClearError (  )  [protected]

void TSQLStatement::SetError ( Int_t  code,
const char *  msg,
const char *  method = 0 
) [protected]

virtual Int_t TSQLStatement::GetBufferLength (  )  const [pure virtual]

virtual Int_t TSQLStatement::GetNumParameters (  )  [pure virtual]

virtual Bool_t TSQLStatement::NextIteration (  )  [pure virtual]

virtual Bool_t TSQLStatement::SetNull ( Int_t   )  [inline, virtual]

Definition at line 47 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetInt ( Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 48 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetUInt ( Int_t  ,
UInt_t   
) [inline, virtual]

Definition at line 49 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetLong ( Int_t  ,
Long_t   
) [inline, virtual]

Definition at line 50 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetLong64 ( Int_t  ,
Long64_t   
) [inline, virtual]

Definition at line 51 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetULong64 ( Int_t  ,
ULong64_t   
) [inline, virtual]

Definition at line 52 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetDouble ( Int_t  ,
Double_t   
) [inline, virtual]

Definition at line 53 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetString ( Int_t  ,
const char *  ,
Int_t  = 256 
) [inline, virtual]

Definition at line 54 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetDate ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 55 of file TSQLStatement.h.

References kFALSE.

Bool_t TSQLStatement::SetDate ( Int_t  ,
const TDatime  
)

virtual Bool_t TSQLStatement::SetTime ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 57 of file TSQLStatement.h.

References kFALSE.

Bool_t TSQLStatement::SetTime ( Int_t  ,
const TDatime  
)

virtual Bool_t TSQLStatement::SetDatime ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t   
) [inline, virtual]

Definition at line 59 of file TSQLStatement.h.

References kFALSE.

Bool_t TSQLStatement::SetDatime ( Int_t  ,
const TDatime  
)

virtual Bool_t TSQLStatement::SetTimestamp ( Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  ,
Int_t  = 0 
) [inline, virtual]

Definition at line 61 of file TSQLStatement.h.

References kFALSE.

Bool_t TSQLStatement::SetTimestamp ( Int_t  ,
const TDatime  
)

virtual void TSQLStatement::SetTimeFormating ( const char *   )  [inline, virtual]

Definition at line 63 of file TSQLStatement.h.

virtual Bool_t TSQLStatement::SetBinary ( Int_t  ,
void *  ,
Long_t  ,
Long_t  = 0x1000 
) [inline, virtual]

Definition at line 64 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVInt ( Int_t  ,
const std::vector< Int_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 66 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVUInt ( Int_t  ,
const std::vector< UInt_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 67 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVLong ( Int_t  ,
const std::vector< Long_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 68 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVLong64 ( Int_t  ,
const std::vector< Long64_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 69 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVULong64 ( Int_t  ,
const std::vector< ULong64_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 70 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::SetVDouble ( Int_t  ,
const std::vector< Double_t ,
const char *  ,
const char *   
) [inline, virtual]

Definition at line 71 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::Process (  )  [pure virtual]

virtual Int_t TSQLStatement::GetNumAffectedRows (  )  [inline, virtual]

Definition at line 75 of file TSQLStatement.h.

virtual Bool_t TSQLStatement::StoreResult (  )  [pure virtual]

virtual Int_t TSQLStatement::GetNumFields (  )  [pure virtual]

virtual const char* TSQLStatement::GetFieldName ( Int_t   )  [pure virtual]

virtual Bool_t TSQLStatement::SetMaxFieldSize ( Int_t  ,
Long_t   
) [inline, virtual]

Definition at line 80 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::NextResultRow (  )  [pure virtual]

virtual Bool_t TSQLStatement::IsNull ( Int_t   )  [inline, virtual]

Definition at line 83 of file TSQLStatement.h.

References kTRUE.

virtual Int_t TSQLStatement::GetInt ( Int_t   )  [inline, virtual]

Definition at line 84 of file TSQLStatement.h.

virtual UInt_t TSQLStatement::GetUInt ( Int_t   )  [inline, virtual]

Definition at line 85 of file TSQLStatement.h.

virtual Long_t TSQLStatement::GetLong ( Int_t   )  [inline, virtual]

Definition at line 86 of file TSQLStatement.h.

virtual Long64_t TSQLStatement::GetLong64 ( Int_t   )  [inline, virtual]

Definition at line 87 of file TSQLStatement.h.

virtual ULong64_t TSQLStatement::GetULong64 ( Int_t   )  [inline, virtual]

Definition at line 88 of file TSQLStatement.h.

virtual Double_t TSQLStatement::GetDouble ( Int_t   )  [inline, virtual]

Definition at line 89 of file TSQLStatement.h.

virtual const char* TSQLStatement::GetString ( Int_t   )  [inline, virtual]

Definition at line 90 of file TSQLStatement.h.

virtual Bool_t TSQLStatement::GetBinary ( Int_t  ,
void *&  ,
Long_t  
) [inline, virtual]

Definition at line 91 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetDate ( Int_t  ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 93 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetTime ( Int_t  ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 94 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetDatime ( Int_t  ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 95 of file TSQLStatement.h.

References kFALSE.

TDatime TSQLStatement::GetDatime ( Int_t   ) 

Int_t TSQLStatement::GetYear ( Int_t   ) 

Int_t TSQLStatement::GetMonth ( Int_t   ) 

Int_t TSQLStatement::GetDay ( Int_t   ) 

Int_t TSQLStatement::GetHour ( Int_t   ) 

Int_t TSQLStatement::GetMinute ( Int_t   ) 

Int_t TSQLStatement::GetSecond ( Int_t   ) 

virtual Bool_t TSQLStatement::GetTimestamp ( Int_t  ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t  
) [inline, virtual]

Definition at line 103 of file TSQLStatement.h.

References kFALSE.

TDatime TSQLStatement::GetTimestamp ( Int_t   ) 

virtual Bool_t TSQLStatement::GetVInt ( Int_t  ,
std::vector< Int_t > &   
) [inline, virtual]

Definition at line 106 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVUInt ( Int_t  ,
std::vector< UInt_t > &   
) [inline, virtual]

Definition at line 107 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVLong ( Int_t  ,
std::vector< Long_t > &   
) [inline, virtual]

Definition at line 108 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVLong64 ( Int_t  ,
std::vector< Long64_t > &   
) [inline, virtual]

Definition at line 109 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVULong64 ( Int_t  ,
std::vector< ULong64_t > &   
) [inline, virtual]

Definition at line 110 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::GetVDouble ( Int_t  ,
std::vector< Double_t > &   
) [inline, virtual]

Definition at line 111 of file TSQLStatement.h.

References kFALSE.

virtual Bool_t TSQLStatement::IsError (  )  const [inline, virtual]

Definition at line 114 of file TSQLStatement.h.

References GetErrorCode().

virtual Int_t TSQLStatement::GetErrorCode (  )  const [virtual]

virtual const char* TSQLStatement::GetErrorMsg (  )  const [virtual]

virtual void TSQLStatement::EnableErrorOutput ( Bool_t  on = kTRUE  )  [inline, virtual]

Definition at line 117 of file TSQLStatement.h.

References fErrorOut.


Member Data Documentation

Int_t TSQLStatement::fErrorCode [protected]

Definition at line 32 of file TSQLStatement.h.

Referenced by ClearError(), and SetError().

TString TSQLStatement::fErrorMsg [protected]

Definition at line 33 of file TSQLStatement.h.

Referenced by ClearError(), GetErrorMsg(), and SetError().

Bool_t TSQLStatement::fErrorOut [protected]

Definition at line 34 of file TSQLStatement.h.

Referenced by EnableErrorOutput(), and SetError().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:47:04 2011 for ROOT_528-00b_version by  doxygen 1.5.1