Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TSQLPreparedStatement.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TSQLPreparedStatement.h
1 // $Id: TSQLPreparedStatement.h,v 1.1.1.1 2004/02/18 20:58:02 dave Exp $
2 
3 #ifndef RDBC_TSQLPreparedStatement_h
4 #define RDBC_TSQLPreparedStatement_h
5 
6 #ifndef RDBC_TSQLStatement_h
7 #include <RDBC/TSQLStatement.h>
8 #endif
9 #ifndef ROOT_TString
10 #include <TString.h>
11 #endif
12 #ifndef ROOT_TArrayC
13 #include <TArrayC.h>
14 #endif
15 
16 //
17 // An object that represents a precompiled SQL statement.
18 //
19 
22 {
23 protected:
25 
26 public:
28 
29  virtual void SetNull( Int_t parameterIndex, Int_t sqlType ) = 0;
30  virtual void SetBoolean( Int_t parameterIndex,Bool_t x ) = 0;
31  virtual void SetByte( Int_t parameterIndex,Char_t x ) = 0;
32  virtual void SetShort( Int_t parameterIndex,Short_t x ) = 0;
33  virtual void SetInt( Int_t parameterIndex,Int_t x ) = 0;
34  virtual void SetLong(Int_t parameterIndex,Long_t x) = 0;
35  virtual void SetFloat(Int_t parameterIndex,Float_t x) = 0;
36  virtual void SetDouble( Int_t parameterIndex,Double_t x) = 0;
37  virtual void SetString(Int_t parameterIndex, const TString& x) = 0;
38  virtual void SetBytes(Int_t parameterIndex,const TArrayC& x) = 0;
39  virtual void SetDate(Int_t parameterIndex,const TSQLDate& x) = 0;
40  virtual void SetTime(Int_t parameterIndex,const TSQLTime& x) = 0;
41  virtual void SetTimestamp( Int_t parameterIndex,const TSQLTimestamp& x ) = 0;
42  virtual void SetAsciiStream(Int_t parameterIndex,TBuffer* x,Int_t length) = 0;
43  virtual void SetBinaryStream( Int_t parameterIndex,TBuffer* x,Int_t length ) = 0;
44  virtual void SetObject( Int_t parameterIndex,TObject* x ) = 0;
45  virtual void ClearParameters() = 0;
46 
47 ClassDef(TSQLPreparedStatement,0)//represents a precompiled SQL statement
48 };
49 
50 #endif // RDBC_TSQLPreparedStatement_h