rwlogo

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
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 ( )

Initializes an instance of IlvMapFeature.

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

Member Function Documentation

IlvMapFeature* IlvMapFeature::copy ( ) const

Returns a copy of the object.

Returns
A copy of the object.
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.
const IlvFeatureAttributeProperty* IlvMapFeature::getAttributes ( ) const

Returns the attributes of the feature.

Returns
The attributes of the feature.
const IlvMapGeometry* IlvMapFeature::getGeometry ( ) const

Returns the geometry of the map feature.

Returns
The geometry of the map feature.
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.
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.
void IlvMapFeature::setAttributeInfo ( IlvFeatureAttributeInfo info)

Sets the attribute info of the map feature.

Parameters
infoThe attribute info.
IlvFeatureAttributeProperty* IlvMapFeature::setAttributes ( IlvFeatureAttributeProperty attributes)

Sets the attributes of the map feature.

Parameters
attributesThe attributes.
Returns
The previous attributes.
IlvMapGeometry* IlvMapFeature::setGeometry ( IlvMapGeometry geometry)

Sets the geometry of the map feature.

Parameters
geometryThe geometry to be set.
Returns
The previous geometry.
IlvMapFeatureId* IlvMapFeature::setId ( IlvMapFeatureId id)

Sets the identifier of the map feature.

Returns
The previous Id.
void IlvMapFeature::setProjection ( IlvProjection projection)

Sets the projection of the geometry of the map feature.

Parameters
projectionThe projection.

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