|
|
| Row (IRow *row_) |
| |
| 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 | getValue (const std::string &field_name) const |
| | Returns the value-object by name.
|
| |
| Value | operator[] (size_type field_num) const |
| | Returns the field_num's value-object.
|
| |
| Value | operator[] (const std::string &field_name) const |
| | Returns the value-object by name.
|
| |
| std::string | getName (size_type field_num) const |
| | Returns the name of the field_num's column.
|
| |
| bool | isNull (size_type field_num) const |
| | Return true, if the specified value is null.
|
| |
| bool | isNull (const std::string &field_name) const |
| | Return true, if the specified value is null.
|
| |
| bool | getBool (size_type field_num) const |
| | The get-methods try to convert the value of the speicfied column to the requested type.
|
| |
|
short | getShort (size_type field_num) const |
| |
|
int | getInt (size_type field_num) const |
| |
|
long | getLong (size_type field_num) const |
| |
|
unsigned short | getUnsignedShort (size_type field_num) const |
| |
|
unsigned | getUnsigned (size_type field_num) const |
| |
|
unsigned long | getUnsignedLong (size_type field_num) const |
| |
|
int32_t | getInt32 (size_type field_num) const |
| |
|
uint32_t | getUnsigned32 (size_type field_num) const |
| |
|
int64_t | getInt64 (size_type field_num) const |
| |
|
uint64_t | getUnsigned64 (size_type field_num) const |
| |
|
Decimal | getDecimal (size_type field_num) const |
| |
|
float | getFloat (size_type field_num) const |
| |
|
double | getDouble (size_type field_num) const |
| |
|
char | getChar (size_type field_num) const |
| |
|
std::string | getString (size_type field_num) const |
| |
|
void | getString (size_type field_num, std::string &ret) const |
| |
|
Blob | getBlob (size_type field_num) const |
| |
|
void | getBlob (size_type field_num, Blob &ret) const |
| |
|
Date | getDate (size_type field_num) const |
| |
|
Time | getTime (size_type field_num) const |
| |
|
Datetime | getDatetime (size_type field_num) const |
| |
|
bool | getBool (const std::string &field_name) const |
| |
|
short | getShort (const std::string &field_name) const |
| |
|
int | getInt (const std::string &field_name) const |
| |
|
long | getLong (const std::string &field_name) const |
| |
|
unsigned | getUnsigned (const std::string &field_name) const |
| |
|
unsigned long | getUnsignedLong (const std::string &field_name) const |
| |
|
int32_t | getInt32 (const std::string &field_name) const |
| |
|
uint32_t | getUnsigned32 (const std::string &field_name) const |
| |
|
int64_t | getInt64 (const std::string &field_name) const |
| |
|
uint64_t | getUnsigned64 (const std::string &field_name) const |
| |
|
Decimal | getDecimal (const std::string &field_name) const |
| |
|
float | getFloat (const std::string &field_name) const |
| |
|
double | getDouble (const std::string &field_name) const |
| |
|
char | getChar (const std::string &field_name) const |
| |
|
std::string | getString (const std::string &field_name) const |
| |
|
void | getString (const std::string &field_name, std::string &ret) const |
| |
|
Blob | getBlob (const std::string &field_name) const |
| |
|
void | getBlob (const std::string &field_name, Blob &ret) const |
| |
|
Date | getDate (const std::string &field_name) const |
| |
|
Time | getTime (const std::string &field_name) const |
| |
|
Datetime | getDatetime (const std::string &field_name) const |
| |
|
template<typename T > |
| bool | getValue (size_type field_num, T &ret) const |
| |
| 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.
|
| |
| RowReader | reader (size_type n=0) const |
| | Instantiates a tntdb::RowReader with the passed initial column counter.
|
| |
| template<typename T > |
| RowReader | get (T &ret) const |
| | Instantiates a tntdb::RowReader and fetches the value of the first column.
|
| |
| template<typename T > |
| RowReader | get (T &ret, bool &nullInd) const |
| | Instantiates a tntdb::RowReader and fetches the value of the first column and sets the null indicator.
|
| |
Row represents a row, which is fetched from the database.