tntdb::postgresql::ResultRow Class Reference

Row of a result-set of type Result. More...

#include <tntdb/postgresql/impl/resultrow.h>

Inheritance diagram for tntdb::postgresql::ResultRow:
tntdb::IRow cxxtools::SimpleRefCounted

Public Member Functions

 ResultRow (Result *result, size_type rownumber)
unsigned size () const
Value getValueByNumber (size_type field_num) const
Value getValueByName (const std::string &field_name) const
std::string getColumnName (size_type field_num) const
size_type getRowNumber () const
PGresult * getPGresult () const

Additional Inherited Members

- Public Types inherited from tntdb::IRow
typedef unsigned size_type

Detailed Description

Row of a result-set of type Result.

Constructor & Destructor Documentation

tntdb::postgresql::ResultRow::ResultRow ( Result result,
size_type  rownumber 
)

Member Function Documentation

std::string tntdb::postgresql::ResultRow::getColumnName ( size_type  field_num) const
virtual

Implements tntdb::IRow.

PGresult* tntdb::postgresql::ResultRow::getPGresult ( ) const
size_type tntdb::postgresql::ResultRow::getRowNumber ( ) const
inline
Value tntdb::postgresql::ResultRow::getValueByName ( const std::string &  field_name) const
virtual

Implements tntdb::IRow.

Value tntdb::postgresql::ResultRow::getValueByNumber ( size_type  field_num) const
virtual

Implements tntdb::IRow.

unsigned tntdb::postgresql::ResultRow::size ( ) const
virtual

Implements tntdb::IRow.


The documentation for this class was generated from the following file: