TSapDBResult Class Reference

#include <TSapDBResult.h>

Inheritance diagram for TSapDBResult:

TSQLResult TObject TObject List of all members.

Public Member Functions

 TSapDBResult (SQLHSTMT fStmt, SDWORD rowCount=0)
 ~TSapDBResult ()
void Close (Option_t *opt="")
Int_t GetFieldCount ()
const char * GetFieldName (Int_t field)
TSQLRowNext ()

Private Member Functions

Bool_t IsValid (Int_t field)

Private Attributes

SQLHSTMT fResult
TStringfFieldNames
Int_t fFieldCount

Detailed Description

Definition at line 38 of file TSapDBResult.h.


Constructor & Destructor Documentation

TSapDBResult::TSapDBResult ( SQLHSTMT  fStmt,
SDWORD  rowCount = 0 
)

TSapDBResult::~TSapDBResult (  ) 

Definition at line 41 of file TSapDBResult.cxx.

References Close(), and fResult.


Member Function Documentation

Bool_t TSapDBResult::IsValid ( Int_t  field  )  [private]

Definition at line 65 of file TSapDBResult.cxx.

References TObject::Error(), fResult, GetFieldCount(), kFALSE, and kTRUE.

Referenced by GetFieldName().

void TSapDBResult::Close ( Option_t opt = ""  )  [virtual]

Implements TSQLResult.

Definition at line 50 of file TSapDBResult.cxx.

References fFieldCount, fFieldNames, fResult, and TSQLResult::fRowCount.

Referenced by ~TSapDBResult().

Int_t TSapDBResult::GetFieldCount (  )  [virtual]

Implements TSQLResult.

Definition at line 81 of file TSapDBResult.cxx.

References TObject::Error(), fFieldCount, and fResult.

Referenced by GetFieldName(), IsValid(), and Next().

const char * TSapDBResult::GetFieldName ( Int_t  field  )  [virtual]

Implements TSQLResult.

Definition at line 103 of file TSapDBResult.cxx.

References TObject::Error(), fFieldNames, fResult, GetFieldCount(), and IsValid().

TSQLRow * TSapDBResult::Next (  )  [virtual]

Implements TSQLResult.

Definition at line 144 of file TSapDBResult.cxx.

References TObject::Error(), fResult, and GetFieldCount().


Member Data Documentation

SQLHSTMT TSapDBResult::fResult [private]

Definition at line 41 of file TSapDBResult.h.

Referenced by Close(), GetFieldCount(), GetFieldName(), IsValid(), Next(), and ~TSapDBResult().

TString* TSapDBResult::fFieldNames [private]

Definition at line 42 of file TSapDBResult.h.

Referenced by Close(), and GetFieldName().

Int_t TSapDBResult::fFieldCount [private]

Definition at line 43 of file TSapDBResult.h.

Referenced by Close(), and GetFieldCount().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:33 2011 for ROOT_528-00b_version by  doxygen 1.5.1