TSapDBRow Class Reference

#include <TSapDBRow.h>

Inheritance diagram for TSapDBRow:

TSQLRow TObject TObject List of all members.

Public Member Functions

 TSapDBRow (SQLHSTMT fResult, Int_t nfields)
 ~TSapDBRow ()
void Close (Option_t *opt="")
ULong_t GetFieldLength (Int_t field)
const char * GetField (Int_t field)

Private Member Functions

Bool_t IsValid (Int_t field)

Private Attributes

SQLHSTMT fResult
Int_t fFieldCount
ULong_tfFieldLength
TStringfFieldValue

Detailed Description

Definition at line 37 of file TSapDBRow.h.


Constructor & Destructor Documentation

TSapDBRow::TSapDBRow ( SQLHSTMT  fResult,
Int_t  nfields 
)

TSapDBRow::~TSapDBRow (  ) 

Definition at line 30 of file TSapDBRow.cxx.

References Close(), and fResult.


Member Function Documentation

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

Definition at line 52 of file TSapDBRow.cxx.

References TObject::Error(), fFieldCount, kFALSE, and kTRUE.

Referenced by GetField(), and GetFieldLength().

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

Implements TSQLRow.

Definition at line 39 of file TSapDBRow.cxx.

References fFieldCount, fFieldLength, fFieldValue, and fResult.

Referenced by ~TSapDBRow().

ULong_t TSapDBRow::GetFieldLength ( Int_t  field  )  [virtual]

Implements TSQLRow.

Definition at line 65 of file TSapDBRow.cxx.

References TObject::Error(), fFieldCount, fFieldLength, fResult, i, and IsValid().

const char * TSapDBRow::GetField ( Int_t  field  )  [virtual]

Implements TSQLRow.

Definition at line 103 of file TSapDBRow.cxx.

References TObject::Error(), fFieldCount, fFieldValue, fResult, IsValid(), and snprintf.


Member Data Documentation

SQLHSTMT TSapDBRow::fResult [private]

Definition at line 40 of file TSapDBRow.h.

Referenced by Close(), GetField(), GetFieldLength(), and ~TSapDBRow().

Int_t TSapDBRow::fFieldCount [private]

Definition at line 41 of file TSapDBRow.h.

Referenced by Close(), GetField(), GetFieldLength(), and IsValid().

ULong_t* TSapDBRow::fFieldLength [private]

Definition at line 42 of file TSapDBRow.h.

Referenced by Close(), and GetFieldLength().

TString* TSapDBRow::fFieldValue [private]

Definition at line 43 of file TSapDBRow.h.

Referenced by Close(), and GetField().


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