Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class is the base class for the attributes of the map features. More...
#include <ilviews/maps/attribute.h>
Public Member Functions | |
virtual IlvFeatureAttribute * | copy () const =0 |
Copies the object. More... | |
void | save (IlvOutputFile &file) const |
Saves the object to an IlvOutputFile . More... | |
virtual void | write (IlvOutputFile &output) const =0 |
Writes the object to an IlvOutputFile object. More... | |
Static Public Member Functions | |
static IlvFeatureAttribute * | Load (IlvInputFile &file) |
Loads an attribute from an IlvInputFile . More... | |
Protected Member Functions | |
IlvFeatureAttribute () | |
Constructor. More... | |
This class is the base class for the attributes of the map features.
Library: ilvmaps
An IlvMapFeature
object can have one or more attributes that can be accessed by the getAttributes()
method. This method returns an IlvFeatureAttributeProperty
instance. Map features can be used by user-defined renderers to translate a feature into a graphic object. Feature attributes can also be used in a map application to display attribute values to the user.
The directory ilviews/maps/attribute
defines a set of predefined attribute classes to store the most common types of attributes used for map features.
They all have the following properties:
IlvFeatureAttribute
. ilv
file. copy()
method. Feature attributes can be attached to a graphic object using an IlvFeatureAttributeProperty
.
|
protected |
Constructor.
Creates a new instance of IlvFeatureAttribute
.
|
pure virtual |
Copies the object.
IlvFeatureAttribute
. Implemented in IlvAttributeArray, IlvStringAttribute, IlvDoubleAttribute, IlvBooleanAttribute, and IlvIntegerAttribute.
|
static |
Loads an attribute from an IlvInputFile
.
file | The input file. |
void IlvFeatureAttribute::save | ( | IlvOutputFile & | file | ) | const |
Saves the object to an IlvOutputFile
.
file | The output file. |
|
pure virtual |
Writes the object to an IlvOutputFile
object.
output | The output file. |
© 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.