rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvI8211Field Class Reference

This class corresponds to a field from the ISO 8211 definition. More...

#include <ilviews/maps/format/s57/i8211field.h>

List of all members.

Public Member Functions

 IlvI8211Field ()
 Initializes a field.
IlDouble getDoubleValue (const char *name)
 Returns the field value as a real.
IlInt getIntegerValue (const char *name)
 Returns the field value as an integer.
IlIntgetIntegerValues (const char *name, IlInt &count)
 Returns the values of a field like an array of integers.
const char * getName ()
 Returns the field name.
const char * getStringValue (const char *name)
 Returns the field value as a string.
IlvValuegetValue (const char *name)
 Returns the field value.
IlvValue ** getValues (const char *name, IlInt &count)
 Returns the values.

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:
name The field name.
Returns:
The field value as a real.
IlInt IlvI8211Field::getIntegerValue ( const char *  name  ) 

Returns the field value as an integer.

Parameters:
name The 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:
name The field name.
count Will 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:
name The field name.
Returns:
The field value as a string.
IlvValue* IlvI8211Field::getValue ( const char *  name  ) 

Returns the field value.

Parameters:
name The 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:
name The field name.
count Will 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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, 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.