// @(#)root/physics:$Id: TOracleRow.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Yan Liu and Shaowen Wang   23/11/04

 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *

#ifndef ROOT_TOracleRow
#define ROOT_TOracleRow

#ifndef ROOT_TSQLRow
#include "TSQLRow.h"

#if !defined(__CINT__)
#ifndef R__WIN32
#include <sys/time.h>
#include <occi.h>
using namespace oracle::occi;
class ResultSet;
class MetaData;

class TOracleRow : public TSQLRow {

   ResultSet                *fResult;      // current result set
   std::vector<MetaData>    *fFieldInfo;   // metadata for columns
   Int_t                     fFieldCount;
   char                    **fFieldsBuffer;

   Bool_t  IsValid(Int_t field);

   void        GetRowData();

   TOracleRow(ResultSet *rs, std::vector<MetaData> *fieldMetaData);

   void        Close(Option_t *opt="");
   ULong_t     GetFieldLength(Int_t field);
   const char *GetField(Int_t field);

   ClassDef(TOracleRow,0)  // One row of Oracle query result


Last update: Thu Jan 17 09:00:38 2008

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.