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

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

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

Public Member Functions

 IlvI8211Record ()
 Initializes a new record.
 
IlvI8211FieldgetFirstField (const IlString &name) const
 Returns a field given its name. More...
 
IlvI8211FieldgetFirstField (IlInt &pos, const IlString &name) const
 Returns a field and its position given its name. More...
 
IlvI8211FieldgetNextField (IlInt &after, const IlString &name) const
 Returns a field given both its name and a starting position. More...
 

Detailed Description

This class corresponds to a record from the ISO 8211 definition.

Library: ilvmaps

Each record from ISO 8211 is a set of fields.

See also
IlvS57Record, IlvI8211Field.

Member Function Documentation

◆ getFirstField() [1/2]

IlvI8211Field* IlvI8211Record::getFirstField ( const IlString name) const

Returns a field given its name.

Parameters
nameThe field name.
Returns
The first field which has the same name, or 0 if no such field is found.

◆ getFirstField() [2/2]

IlvI8211Field* IlvI8211Record::getFirstField ( IlInt pos,
const IlString name 
) const

Returns a field and its position given its name.

Parameters
posSet on return to the position of the found field.
nameThe field name.
Returns
The first field which has the same name, or 0 if no such field is found.

◆ getNextField()

IlvI8211Field* IlvI8211Record::getNextField ( IlInt after,
const IlString name 
) const

Returns a field given both its name and a starting position.

Parameters
afterBefore the search contains the start position, after the search contains the position of the found field.
nameThe field name.
Returns
The first field which has the same name, or 0 if no such field is found.