tntdb::sqlite::StmtRow Class Reference

Row of a statement. More...

#include <tntdb/sqlite/impl/stmtrow.h>

Inheritance diagram for tntdb::sqlite::StmtRow:
tntdb::IRow cxxtools::SimpleRefCounted

Public Member Functions

 StmtRow (sqlite3_stmt *stmt_)
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
sqlite3_stmt * getStmt () const

Additional Inherited Members

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

Detailed Description

Row of a statement.

Constructor & Destructor Documentation

tntdb::sqlite::StmtRow::StmtRow ( sqlite3_stmt *  stmt_)
inline

Member Function Documentation

std::string tntdb::sqlite::StmtRow::getColumnName ( size_type  field_num) const
virtual

Implements tntdb::IRow.

sqlite3_stmt* tntdb::sqlite::StmtRow::getStmt ( ) const
inline
Value tntdb::sqlite::StmtRow::getValueByName ( const std::string &  field_name) const
virtual

Implements tntdb::IRow.

Value tntdb::sqlite::StmtRow::getValueByNumber ( size_type  field_num) const
virtual

Implements tntdb::IRow.

unsigned tntdb::sqlite::StmtRow::size ( ) const
virtual

Implements tntdb::IRow.


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