db::BlobField Class Reference
[Fields]
#include <ittia/dbxx/dbxx_field_ref.h>
List of all members.
Detailed Description
A
Field that contains a Binary Large OBject (BLOB) value.
|
Public Member Functions |
| | BlobField (RowAccessor &cursor, const NameChar *field_name) |
| | BlobField (RowAccessor &cursor, int field) |
| | BlobField (const Field &o) |
| const BlobField & | operator= (const Field &o) |
| db_len_t | size () |
| int | truncate (db_len_t) |
| db_len_t | read (db_len_t offset, void *buf, db_len_t len) |
| db_len_t | write (db_len_t offset, const void *buf, db_len_t len) |
| db_len_t | write_final (db_len_t offset, const void *buf, db_len_t len) |
|
int | attach (const Field &) |
|
int | attach (RowAccessor &, const NameChar *) |
|
int | attach (RowAccessor &, int fieldno) |
| | operator Value () |
| | operator const Value () const |
| bool | is_valid () const |
|
bool | is_null () const |
|
void | set_null () |
| IntegerField | as_int () const |
| FloatField | as_float () const |
| CurrencyField | as_currency () const |
| StringField | as_string () const |
| WStringField | as_wstring () const |
| DateTimeField | as_datetime () const |
| BlobField | as_blob () const |
Protected Member Functions |
|
db_uint | get_type_mask () const |
|
const Value | as_value () const |
|
void | set_field (const Value &new_value) |
|
int | fieldno () const |
Static Protected Member Functions |
|
static bool | valid_type (RowAccessor *, int field, db_uint type_mask) |
Protected Attributes |
|
int | field |
|
RowAccessor * | row |