db::StringField Class Reference
[Fields]

#include <ittia/dbxx/dbxx_field_ref.h>

Inheritance diagram for db::StringField:

Inheritance graph

List of all members.


Detailed Description

A Field that contains a String value.

Public Member Functions

 StringField (RowAccessor &cursor, const NameChar *field_name)
 StringField (RowAccessor &cursor, int field)
 StringField (const Field &o)
 operator String () const
const StringFieldoperator= (const char *)
const StringFieldoperator= (const String &)
const StringFieldoperator= (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

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.