Field db::RowAccessor::operator[] ( const NameChar *  field_name  )  [inline, inherited]

Access a field using array indexing syntax.

Parameters:
field_name The name of the field to be accessed.
Returns:
A Field object representing the selected field.
Note:
Since this operator cannot return an error code, Table::set_field and Table::get_field should be used instead whenever per-field error handling is necessary. If an non-existant field_name is selected, modifications to the Field will be ignored and data retrieved will have an arbitrary value. In such a case, Field::is_valid will return false.
See also:
Table::get_field, Table::set_field


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