Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TSQLCallableStatement.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TSQLCallableStatement.h
1 // $Id: TSQLCallableStatement.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
2 
3 #ifndef RDBC_TSQLCallableStatement_h
4 #define RDBC_TSQLCallableStatement_h
5 
6 #ifndef RDBC_TSQLPreparedStatement_h
8 #endif
9 
10 //
11 // A prepared statement suited for stored procedure calls
12 //
13 
16 {
17 protected:
19 
20 public:
22 
23  virtual void RegisterOutParameter( Int_t parameterIndex,Int_t sqlType ) = 0;
24  virtual void RegisterOutParameter( Int_t parameterIndex,Int_t sqlType,Int_t scale ) = 0;
25  virtual Bool_t WasNull() = 0;
26  virtual TString GetString(Int_t parameterIndex) = 0;
27  virtual Bool_t GetBoolean(Int_t parameterIndex) = 0;
28  virtual Char_t GetByte(Int_t parameterIndex) = 0;
29  virtual Short_t GetShort(Int_t parameterIndex) = 0;
30  virtual Int_t GetInt(Int_t parameterIndex) = 0;
31  virtual Long_t GetLong(Int_t parameterIndex) = 0;
32  virtual Float_t GetFloat(Int_t parameterIndex) = 0;
33  virtual Double_t GetDouble(Int_t parameterIndex) = 0;
34  virtual TArrayC GetBytes(Int_t parameterIndex) = 0;
35  virtual TSQLDate GetDate(Int_t parameterIndex) = 0;
36  virtual TSQLTime GetTime(Int_t parameterIndex) = 0;
37  virtual TSQLTimestamp GetTimestamp(Int_t parameterIndex) = 0;
38 
39 ClassDef(TSQLCallableStatement,0)//A prepared statement suited for stored procedure calls
40 };
41 
42 #endif // RDBC_TSQLCallableStatement_h