Views
Maps Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvI8211Field Class Reference

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...
 
IlIntgetIntegerValues (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...
 
IlvValuegetValue (const char *name)
 Returns the field value. More...
 
IlvValue ** getValues (const char *name, IlInt &count)
 Returns the values. More...
 

Detailed Description

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.

See also
IlvS57Record, IlvI8211Record.

Member Function Documentation

◆ getDoubleValue()

IlDouble IlvI8211Field::getDoubleValue ( const char *  name)

Returns the field value as a real.

Parameters
nameThe field name.
Returns
The field value as a real.

◆ getIntegerValue()

IlInt IlvI8211Field::getIntegerValue ( const char *  name)

Returns the field value as an integer.

Parameters
nameThe field name.
Returns
The field value as an integer.

◆ getIntegerValues()

IlInt* IlvI8211Field::getIntegerValues ( const char *  name,
IlInt count 
)

Returns the values of a field like an array of integers.

Parameters
nameThe field name.
countSet on return to the number of values.
Returns
An array of integers which can be 0 if there is no value. You must manage the deletion of the array.

◆ getName()

const char* IlvI8211Field::getName ( )

Returns the field name.

Returns
The field name.

◆ getStringValue()

const char* IlvI8211Field::getStringValue ( const char *  name)

Returns the field value as a string.

Parameters
nameThe field name.
Returns
The field value as a string.

◆ getValue()

IlvValue* IlvI8211Field::getValue ( const char *  name)

Returns the field value.

Parameters
nameThe field name.
Returns
The field value. You must manage the deletion of the value.

◆ getValues()

IlvValue** IlvI8211Field::getValues ( const char *  name,
IlInt count 
)

Returns the values.

Parameters
nameThe field name.
countSet on return to the number of values.
Returns
An array of values which can be 0 if there is no value. You must manage the deletion of the array.