This class corresponds to a field from the ISO 8211 definition. More...
#include <ilviews/maps/format/s57/i8211field.h>
Public Member Functions | |
IlvI8211Field () | |
Initializes a new field. | |
IlDouble | getDoubleValue (const char *name) |
Returns the field value as a real. More... | |
IlInt | getIntegerValue (const char *name) |
Returns the field value as an integer. More... | |
IlInt * | getIntegerValues (const char *name, IlInt &count) |
Returns the values of a field like an array of integers. More... | |
const char * | getName () |
Returns the field name. More... | |
const char * | getStringValue (const char *name) |
Returns the field value as a string. More... | |
IlvValue * | getValue (const char *name) |
Returns the field value. More... | |
IlvValue ** | getValues (const char *name, IlInt &count) |
Returns the values. More... | |
This class corresponds to a field from the ISO 8211 definition.
Library: ilvmaps
Each field from ISO 8211 associates a name to a set of values. The values can be integer, real or string.
IlvS57Record
, IlvI8211Record
. IlDouble IlvI8211Field::getDoubleValue | ( | const char * | name | ) |
Returns the field value as a real.
name | The field name. |
IlInt IlvI8211Field::getIntegerValue | ( | const char * | name | ) |
Returns the field value as an integer.
name | The field name. |
Returns the values of a field like an array of integers.
name | The field name. |
count | Set on return to the number of values. |
0
if there is no value. You must manage the deletion of the array. const char* IlvI8211Field::getName | ( | ) |
Returns the field name.
const char* IlvI8211Field::getStringValue | ( | const char * | name | ) |
Returns the field value as a string.
name | The field name. |
IlvValue* IlvI8211Field::getValue | ( | const char * | name | ) |
Returns the field value.
name | The field name. |