#ifndef ROOT_TODBCResult
#define ROOT_TODBCResult
#ifndef ROOT_TSQLResult
#include "TSQLResult.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
#ifdef __CINT__
typedef void * SQLHSTMT;
#else
#ifdef WIN32
#include "windows.h"
#endif
#include <sql.h>
#endif
class TODBCResult : public TSQLResult {
protected:
   SQLHSTMT    fHstmt;
   Int_t       fFieldCount;
   TString     fNameBuffer;
public:
   TODBCResult(SQLHSTMT stmt);
   virtual ~TODBCResult();
   void        Close(Option_t *opt="");
   Int_t       GetFieldCount() { return fFieldCount; }
   const char *GetFieldName(Int_t field);
   TSQLRow    *Next();
   ClassDef(TODBCResult,0)  
};
#endif
Last update: Tue Dec 18 09:11:26 2007
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.