Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class is used to store the data of S57 Enumeration. More...
#include <ilviews/maps/format/s57/s57enum.h>
Public Member Functions | |
IlvS57Enumeration () | |
Initializes an enumeration with default values. More... | |
IlvS57Enumeration (const char *ascii, IlInt value, const char *label, IlBoolean show=IlTrue) | |
Initializes an enumeration. More... | |
const char * | asciiValue () const |
Returns the ascii value. More... | |
IlInt | binaryValue () const |
Returns the integer value. More... | |
const char * | getLabel () const |
Returns the label. More... | |
void | set (const char *ascii, IlInt value, const char *label, IlBoolean show=IlTrue) |
Sets new values for an enumeration. More... | |
Public Member Functions inherited from IlvI8211RefCount | |
void | lock () |
Locks the object. More... | |
void | unLock () |
Unlocks the object. More... | |
This class is used to store the data of S57 Enumeration.
Library: ilvmaps
An S57 Enumeration is defined by a label, an ascii value which is a short label, an integer value and a visibility which is used by the internal model. The IlvS57Enumeration
are reference counting objects, you must lock and unlock the objects of this class, you can't delete directly these objects because there are shared by several other objects.
IlvS57EnumerationArray
, IlvS57Record
IlvS57Enumeration::IlvS57Enumeration | ( | ) |
Initializes an enumeration with default values.
Creates an enumeration with default values.
IlvS57Enumeration::IlvS57Enumeration | ( | const char * | ascii, |
IlInt | value, | ||
const char * | label, | ||
IlBoolean | show = IlTrue |
||
) |
Initializes an enumeration.
Creates an enumeration with the following parameters:
ascii | The ascii value of the enumeration. |
value | The integer value of the enumeration. |
label | The label of the enumeration. |
show | The visibility of the enumeration. |
const char* IlvS57Enumeration::asciiValue | ( | ) | const |
Returns the ascii value.
IlInt IlvS57Enumeration::binaryValue | ( | ) | const |
Returns the integer value.
const char* IlvS57Enumeration::getLabel | ( | ) | const |
Returns the label.
void IlvS57Enumeration::set | ( | const char * | ascii, |
IlInt | value, | ||
const char * | label, | ||
IlBoolean | show = IlTrue |
||
) |
Sets new values for an enumeration.
Changes the values of the enumeration.
ascii | The ascii value of the enumeration. |
value | The integer value of the enumeration. |
label | The label of the enumeration. |
show | The visibility of the enumeration. |
© Copyright 2016, 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.