tntdb::RowImpl Class Reference

#include <tntdb/impl/row.h>

Inheritance diagram for tntdb::RowImpl:
tntdb::IRow cxxtools::SimpleRefCounted

Classes

struct  ValueType

Public Types

typedef std::vector< ValueTypedata_type
- Public Types inherited from tntdb::IRow
typedef unsigned size_type

Public Member Functions

 RowImpl ()
 RowImpl (const data_type &data_)
virtual size_type size () const
virtual Value getValueByNumber (size_type field_num) const
virtual Value getValueByName (const std::string &field_name) const
virtual std::string getColumnName (size_type field_num) const
void add (const std::string &field_name, const Value &value)

Member Typedef Documentation

typedef std::vector<ValueType> tntdb::RowImpl::data_type

Constructor & Destructor Documentation

tntdb::RowImpl::RowImpl ( )
inline
tntdb::RowImpl::RowImpl ( const data_type data_)
inlineexplicit

Member Function Documentation

void tntdb::RowImpl::add ( const std::string &  field_name,
const Value value 
)
inline
virtual std::string tntdb::RowImpl::getColumnName ( size_type  field_num) const
virtual

Implements tntdb::IRow.

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

Implements tntdb::IRow.

virtual Value tntdb::RowImpl::getValueByNumber ( size_type  field_num) const
virtual

Implements tntdb::IRow.

virtual size_type tntdb::RowImpl::size ( ) const
virtual

Implements tntdb::IRow.


The documentation for this class was generated from the following file:
  • include/tntdb/impl/row.h