#ifndef ROOT_TOracleResult
#define ROOT_TOracleResult
#ifndef ROOT_TSQLResult
#include "TSQLResult.h"
#endif
#include <vector>
#if !defined(__CINT__)
#ifndef R__WIN32
#include <sys/time.h>
#endif
#include <occi.h>
using namespace oracle::occi;
#ifdef CONST
#undef CONST
#endif
#else
class Connection;
class Statement;
class ResultSet;
class MetaData;
#endif
class TList;
class TOracleResult : public TSQLResult {
private:
Connection *fConn;
Statement *fStmt;
ResultSet *fResult;
std::vector<MetaData> *fFieldInfo;
Int_t fFieldCount;
UInt_t fUpdateCount;
Int_t fResultType;
TList *fPool;
std::string fNameBuffer;
Bool_t IsValid(Int_t field);
protected:
void initResultSet(Statement *stmt);
void ProducePool();
public:
TOracleResult(Connection *conn, Statement *stmt);
TOracleResult(Connection *conn, const char *tableName);
~TOracleResult();
void Close(Option_t *opt="");
Int_t GetFieldCount();
const char *GetFieldName(Int_t field);
virtual Int_t GetRowCount() const;
TSQLRow *Next();
Int_t GetUpdateCount() { return fUpdateCount; }
ClassDef(TOracleResult,0)
};
#endif
Last change: Wed Jun 25 08:50:00 2008
Last generated: 2008-06-25 08:50
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.