Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

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

This class represents a simple map feature, that is, an object with a geometry that can be rendered graphically and, optionally, a list of attributes. More...

#include <ilviews/maps/mapfeature.h>

Public Member Functions

 IlvMapFeature ()
 Initializes an instance of IlvMapFeature. More...
 
 IlvMapFeature (const IlvMapFeature &source)
 Initializes a map feature by copying an existing one.
 
IlvMapFeaturecopy () const
 Returns a copy of the object. More...
 
const IlvFeatureAttributeInfogetAttributeInfo () const
 Returns the attribute info of the map feature or 0 if the map feature has no attribute. More...
 
const IlvFeatureAttributePropertygetAttributes () const
 Returns the attributes of the feature. More...
 
const IlvMapGeometrygetGeometry () const
 Returns the geometry of the map feature. More...
 
const IlvMapFeatureIdgetId () const
 Returns the identifier of the map feature. More...
 
const IlvProjectiongetProjection () const
 Returns the projection of the geometry of the map feature. More...
 
void setAttributeInfo (IlvFeatureAttributeInfo *info)
 Sets the attribute info of the map feature. More...
 
IlvFeatureAttributePropertysetAttributes (IlvFeatureAttributeProperty *attributes)
 Sets the attributes of the map feature. More...
 
IlvMapGeometrysetGeometry (IlvMapGeometry *geometry)
 Sets the geometry of the map feature. More...
 
IlvMapFeatureIdsetId (IlvMapFeatureId *id)
 Sets the identifier of the map feature. More...
 
void setProjection (IlvProjection *projection)
 Sets the projection of the geometry of the map feature. More...
 

Detailed Description

This class represents a simple map feature, that is, an object with a geometry that can be rendered graphically and, optionally, a list of attributes.

Library: ilvmaps

See also
IlvFeatureRenderer, IlvMapFeatureIterator.

Constructor & Destructor Documentation

§ IlvMapFeature()

IlvMapFeature::IlvMapFeature ( )

Initializes an instance of IlvMapFeature.

This constructor initializes a new instance of IlvMapFeature, with no geometry, no attributes and no projection.

Member Function Documentation

§ copy()

IlvMapFeature* IlvMapFeature::copy ( ) const

Returns a copy of the object.

Returns
A copy of the object.

§ getAttributeInfo()

const IlvFeatureAttributeInfo* IlvMapFeature::getAttributeInfo ( ) const

Returns the attribute info of the map feature or 0 if the map feature has no attribute.

Returns
The attribute info of the map feature.

§ getAttributes()

const IlvFeatureAttributeProperty* IlvMapFeature::getAttributes ( ) const

Returns the attributes of the feature.

Returns
The attributes of the feature.

§ getGeometry()

const IlvMapGeometry* IlvMapFeature::getGeometry ( ) const

Returns the geometry of the map feature.

Returns
The geometry of the map feature.

§ getId()

const IlvMapFeatureId* IlvMapFeature::getId ( ) const

Returns the identifier of the map feature.

Returns
The identifier of the map feature or 0 if the identifier is not defined.

§ getProjection()

const IlvProjection* IlvMapFeature::getProjection ( ) const

Returns the projection of the geometry of the map feature.

Returns
The projection of the geometry of the map feature, or 0 if the projection in which the coordinates of the feature geometry are expressed is unknown.

§ setAttributeInfo()

void IlvMapFeature::setAttributeInfo ( IlvFeatureAttributeInfo info)

Sets the attribute info of the map feature.

Parameters
infoThe attribute info.

§ setAttributes()

IlvFeatureAttributeProperty* IlvMapFeature::setAttributes ( IlvFeatureAttributeProperty attributes)

Sets the attributes of the map feature.

Parameters
attributesThe attributes.
Returns
The previous attributes.

§ setGeometry()

IlvMapGeometry* IlvMapFeature::setGeometry ( IlvMapGeometry geometry)

Sets the geometry of the map feature.

Parameters
geometryThe geometry to be set.
Returns
The previous geometry.

§ setId()

IlvMapFeatureId* IlvMapFeature::setId ( IlvMapFeatureId id)

Sets the identifier of the map feature.

Returns
The previous Id.

§ setProjection()

void IlvMapFeature::setProjection ( IlvProjection projection)

Sets the projection of the geometry of the map feature.

Parameters
projectionThe projection.

© Copyright 2017, 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.