rwlogo

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
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 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

IlDouble IlvI8211Field::getDoubleValue ( const char *  name)

Returns the field value as a real.

Parameters
nameThe field name.
Returns
The field value as a real.
IlInt IlvI8211Field::getIntegerValue ( const char *  name)

Returns the field value as an integer.

Parameters
nameThe field name.
Returns
The field value as an integer.
IlInt* IlvI8211Field::getIntegerValues ( const char *  name,
IlInt count 
)

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

Parameters
nameThe field name.
countWill contain the number of values.
Returns
An array of integers which can be null if there is no value. You must manage the deletion of the array.
const char* IlvI8211Field::getName ( )

Returns the field name.

Returns
The field name.
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.
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.
IlvValue** IlvI8211Field::getValues ( const char *  name,
IlInt count 
)

Returns the values.

Parameters
nameThe field name.
countWill contain the number of values.
Returns
An array of values which can be null if there is no value. You must manage the deletion of the array.

© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.