Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvMapFeatureStringId Class Reference

This class represents a map feature identifier using a string value. More...

#include <ilviews/maps/featureid.h>

Inheritance diagram for IlvMapFeatureStringId:
IlvMapFeatureId

Public Member Functions

 IlvMapFeatureStringId (const char *value)
 Initializes an IlvMapFeatureStringId. 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...
 
const char * getValue () const
 Returns the object ID. More...
 
virtual IlUInt hashCode () const
 Returns a hashcode for the ID. More...
 
void setValue (const char *val)
 Sets a copy of specified string as the object ID. More...
 

Detailed Description

This class represents a map feature identifier using a string value.

Library: ilvmaps

Constructor & Destructor Documentation

IlvMapFeatureStringId::IlvMapFeatureStringId ( const char *  value)

Initializes an IlvMapFeatureStringId.

Parameters
valueThe ID value. The string is copied.

Member Function Documentation

virtual IlvMapFeatureId* IlvMapFeatureStringId::copy ( ) const
virtual

Returns a copy of the object.

Returns
A copy of the object.

Implements IlvMapFeatureId.

virtual IlBoolean IlvMapFeatureStringId::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.

virtual IlvClassInfo* IlvMapFeatureStringId::getClassInfo ( ) const
virtual

Returns a class info for the ID.

Returns
The IlvClassInfo for this ID.

Implements IlvMapFeatureId.

const char* IlvMapFeatureStringId::getValue ( ) const

Returns the object ID.

Returns
The object ID. This value is owned by this feature ID.
virtual IlUInt IlvMapFeatureStringId::hashCode ( ) const
virtual

Returns a hashcode for the ID.

Returns
The ID hashcode.

Implements IlvMapFeatureId.

void IlvMapFeatureStringId::setValue ( const char *  val)

Sets a copy of specified string as the object ID.

Parameters
valThe new string value. This string is copied.

© 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.