#include <row.h>
Public Member Functions | |
unsigned | size () const |
Returns the number of columns of this row. | |
bool | empty () const |
Returns true, if this row-object has no columns. | |
Value | getValue (size_type field_num) const |
Returns the field_num's value-object. | |
Value | operator[] (size_type field_num) const |
Returns the field_num's value-object. | |
bool | isNull (size_type field_num) const |
Return true, if the specified value is null. | |
const_iterator | begin () const |
Returns a iterator to the first column. | |
const_iterator | end () const |
Returns a iterator past the last column. | |
bool | operator! () const |
Returns true, if this class is not connected to a actual databaserow. | |
const IRow * | getImpl () const |
Returns the actual implementation-class. | |
bool | getBool (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. | |
int | getInt (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. | |
unsigned | getUnsigned (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. | |
float | getFloat (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. | |
double | getDouble (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. | |
char | getChar (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. | |
std::string | getString (size_type field_num) const |
The get-methods try to convert the value of the speicfied column to the requested type. |
unsigned tntdb::Row::size | ( | ) | const [inline] |
Returns the number of columns of this row.
bool tntdb::Row::empty | ( | ) | const [inline] |
Returns true, if this row-object has no columns.
Value tntdb::Row::getValue | ( | size_type | field_num | ) | const [inline] |
Returns the field_num's value-object.
Value tntdb::Row::operator[] | ( | size_type | field_num | ) | const [inline] |
Returns the field_num's value-object.
bool tntdb::Row::isNull | ( | size_type | field_num | ) | const [inline] |
Return true, if the specified value is null.
bool tntdb::Row::getBool | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
int tntdb::Row::getInt | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
unsigned tntdb::Row::getUnsigned | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
float tntdb::Row::getFloat | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
double tntdb::Row::getDouble | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
char tntdb::Row::getChar | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
std::string tntdb::Row::getString | ( | size_type | field_num | ) | const [inline] |
The get-methods try to convert the value of the speicfied column to the requested type.
const_iterator tntdb::Row::begin | ( | ) | const |
Returns a iterator to the first column.
const_iterator tntdb::Row::end | ( | ) | const |
Returns a iterator past the last column.
bool tntdb::Row::operator! | ( | ) | const [inline] |
Returns true, if this class is not connected to a actual databaserow.
const IRow* tntdb::Row::getImpl | ( | ) | const [inline] |
Returns the actual implementation-class.