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

This class represents a map feature identifier using an integer value. More...

#include <ilviews/maps/featureid.h>

Inheritance diagram for IlvMapFeatureIntegerId:
IlvMapFeatureId

Public Member Functions

 IlvMapFeatureIntegerId (IlInt value)
 Initializes an IlvMapFeatureIntegerId. More...
 
virtual IlvMapFeatureIdcopy () const
 Returns a copy of the object. More...
 
virtual IlBoolean equals (const IlvMapFeatureId &) const
 Checks for object equality. More...
 
virtual IlvClassInfogetClassInfo () const
 Returns a class info for the ID. More...
 
IlInt getValue () const
 Returns the object ID. More...
 
virtual IlUInt hashCode () const
 Returns a hashcode for the ID. More...
 
void setValue (IlInt val)
 Sets the object ID. More...
 

Detailed Description

This class represents a map feature identifier using an integer value.

Library: ilvmaps

Constructor & Destructor Documentation

◆ IlvMapFeatureIntegerId()

IlvMapFeatureIntegerId::IlvMapFeatureIntegerId ( IlInt  value)

Initializes an IlvMapFeatureIntegerId.

Parameters
valueThe ID value.

Member Function Documentation

◆ copy()

virtual IlvMapFeatureId* IlvMapFeatureIntegerId::copy ( ) const
virtual

Returns a copy of the object.

Returns
A copy of the object.

Implements IlvMapFeatureId.

◆ equals()

virtual IlBoolean IlvMapFeatureIntegerId::equals ( const IlvMapFeatureId featureId) const
virtual

Checks for object equality.

Parameters
featureIdThe feature id to compare this object to.
Returns
IlTrue if the object equals featureId.

Implements IlvMapFeatureId.

◆ getClassInfo()

virtual IlvClassInfo* IlvMapFeatureIntegerId::getClassInfo ( ) const
virtual

Returns a class info for the ID.

Returns
The IlvClassInfo for this ID.

Implements IlvMapFeatureId.

◆ getValue()

IlInt IlvMapFeatureIntegerId::getValue ( ) const

Returns the object ID.

Returns
The object ID.

◆ hashCode()

virtual IlUInt IlvMapFeatureIntegerId::hashCode ( ) const
virtual

Returns a hashcode for the ID.

Returns
The ID hashcode.

Implements IlvMapFeatureId.

◆ setValue()

void IlvMapFeatureIntegerId::setValue ( IlInt  val)

Sets the object ID.

Parameters
valThe object ID.