TPgSQLRow Class Reference

#include <TPgSQLRow.h>

Inheritance diagram for TPgSQLRow:

TSQLRow TObject TObject List of all members.

Public Member Functions

 TPgSQLRow (void *result, ULong_t rowHandle)
 ~TPgSQLRow ()
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

PGresult * fResult
ULong_t fRowNum

Detailed Description

Definition at line 27 of file TPgSQLRow.h.


Constructor & Destructor Documentation

TPgSQLRow::TPgSQLRow ( void *  result,
ULong_t  rowHandle 
)

TPgSQLRow::~TPgSQLRow (  ) 

Definition at line 27 of file TPgSQLRow.cxx.

References Close(), and fRowNum.


Member Function Documentation

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

Definition at line 48 of file TPgSQLRow.cxx.

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

Referenced by GetField(), and GetFieldLength().

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

Implements TSQLRow.

Definition at line 36 of file TPgSQLRow.cxx.

References fResult, and fRowNum.

Referenced by ~TPgSQLRow().

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

Implements TSQLRow.

Definition at line 60 of file TPgSQLRow.cxx.

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

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

Implements TSQLRow.

Definition at line 78 of file TPgSQLRow.cxx.

References fResult, fRowNum, and IsValid().


Member Data Documentation

PGresult* TPgSQLRow::fResult [private]

Definition at line 30 of file TPgSQLRow.h.

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

ULong_t TPgSQLRow::fRowNum [private]

Definition at line 31 of file TPgSQLRow.h.

Referenced by Close(), GetField(), and ~TPgSQLRow().


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