db::IntegerField Class Reference
[Fields]

#include <ittia/dbxx/dbxx_field_ref.h>

Inheritance diagram for db::IntegerField:

Inheritance graph

List of all members.


Detailed Description

A Field that contains an integer value.

Public Member Functions

 IntegerField (RowAccessor &cursor, const NameChar *field_name)
 IntegerField (RowAccessor &cursor, int field)
 IntegerField (const Field &o)
 operator char () const
 operator signed char () const
 operator unsigned char () const
 operator signed short int () const
 operator unsigned short int () const
 operator signed int () const
 operator unsigned int () const
 operator signed long int () const
 operator unsigned long int () const
 operator db_sint () const
 operator db_uint () const
const IntegerFieldoperator= (char)
const IntegerFieldoperator= (signed char)
const IntegerFieldoperator= (unsigned char)
const IntegerFieldoperator= (signed short int)
const IntegerFieldoperator= (unsigned short int)
const IntegerFieldoperator= (signed int)
const IntegerFieldoperator= (unsigned int)
const IntegerFieldoperator= (signed long int)
const IntegerFieldoperator= (unsigned long int)
const IntegerFieldoperator= (db_sint)
const IntegerFieldoperator= (db_uint)
const IntegerFieldoperator= (const Field &o)
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

virtual 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
RowAccessorrow

Copyright © 2005-2008 ITTIA®. All rights reserved.