TPgSQLResult Class Reference

#include <TPgSQLResult.h>

Inheritance diagram for TPgSQLResult:

TSQLResult TObject TObject List of all members.

Public Member Functions

 TPgSQLResult (void *result)
 ~TPgSQLResult ()
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

PGresult * fResult
ULong_t fCurrentRow

Detailed Description

Definition at line 26 of file TPgSQLResult.h.


Constructor & Destructor Documentation

TPgSQLResult::TPgSQLResult ( void *  result  ) 

TPgSQLResult::~TPgSQLResult (  ) 

Definition at line 29 of file TPgSQLResult.cxx.

References Close(), and fResult.


Member Function Documentation

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

Definition at line 52 of file TPgSQLResult.cxx.

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

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

Implements TSQLResult.

Definition at line 38 of file TPgSQLResult.cxx.

References fCurrentRow, fResult, and TSQLResult::fRowCount.

Referenced by ~TPgSQLResult().

Int_t TPgSQLResult::GetFieldCount (  )  [virtual]

Implements TSQLResult.

Definition at line 68 of file TPgSQLResult.cxx.

References TObject::Error(), and fResult.

Referenced by IsValid().

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

Implements TSQLResult.

Definition at line 80 of file TPgSQLResult.cxx.

References TObject::Error(), and fResult.

TSQLRow * TPgSQLResult::Next (  )  [virtual]

Implements TSQLResult.

Definition at line 92 of file TPgSQLResult.cxx.

References TObject::Error(), fCurrentRow, fResult, TSQLResult::fRowCount, and row.


Member Data Documentation

PGresult* TPgSQLResult::fResult [private]

Definition at line 29 of file TPgSQLResult.h.

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

ULong_t TPgSQLResult::fCurrentRow [private]

Definition at line 30 of file TPgSQLResult.h.

Referenced by Close(), and Next().


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