This class enables you to use long identifiers stored as 64 bits. More...
#include <ilviews/maps/format/s57/s57hash.h>
Public Member Functions | |
IlvS57AssocId (const IlvS57AssocId &src) | |
Initializes a new identifier with the value of another identifier. More... | |
IlvS57AssocId (IlInt h=0, IlInt l=0) | |
Initializes the values of both parts of the identifier. More... | |
const char * | getValue () |
Returns the identifier as a string. More... | |
IlBoolean | isNull () const |
Indicates if the identifier is null. More... | |
int | operator== (const IlvS57AssocId &obj) const |
The equality operator. More... | |
void | set (IlInt h, IlInt l) |
Sets the values of both parts of the identifier. More... | |
This class enables you to use long identifiers stored as 64 bits.
Library: ilvmaps
A long identifier is used to identify a FRID record. These identifiers are stored as 64 bits (or two integers). If both integers are equal to 0, the identifier is considered as null.
IlvFRIDRecord
. Initializes the values of both parts of the identifier.
h | The higher(left) part of the 64 bit identifier. |
l | The lower(right) part of the 64 bit identifier. |
IlvS57AssocId::IlvS57AssocId | ( | const IlvS57AssocId & | src | ) |
Initializes a new identifier with the value of another identifier.
src | The original identifier. |
const char* IlvS57AssocId::getValue | ( | ) |
Returns the identifier as a string.
IlBoolean IlvS57AssocId::isNull | ( | ) | const |
Indicates if the identifier is null.
IlTrue
if the identifier is null. An identifier is null if the higher(left) and lower(right) parts are equal to 0
. int IlvS57AssocId::operator== | ( | const IlvS57AssocId & | obj | ) | const |
The equality operator.
obj | The second identifier. |
0
if the identifiers are different otherwise returns 1
.