tntdb::mysql::ResultRow Class Reference

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

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

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

Public Member Functions

 ResultRow (const tntdb::Result &result_, MYSQL_RES *res, MYSQL_ROW row_)
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

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::mysql::ResultRow::ResultRow ( const tntdb::Result result_,
MYSQL_RES *  res,
MYSQL_ROW  row_ 
)

Member Function Documentation

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

Implements tntdb::IRow.

Value tntdb::mysql::ResultRow::getValueByName ( const std::string &  field_name) const
virtual

Implements tntdb::IRow.

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

Implements tntdb::IRow.

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

Implements tntdb::IRow.


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