rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvFeatureAttribute Class Reference

This class is the base class for the attributes of the map features. More...

#include <ilviews/maps/attribute.h>

Inheritance diagram for IlvFeatureAttribute:
IlvAttributeArray IlvBooleanAttribute IlvDoubleAttribute IlvIntegerAttribute IlvStringAttribute

List of all members.

Public Member Functions

virtual IlvFeatureAttributecopy () const =0
 Copies the object.
void save (IlvOutputFile &) const
 Saves the object to an IlvOutputFile.
virtual void write (IlvOutputFile &output) const =0
 Writes the object to an IlvOutputFile object.

Static Public Member Functions

static IlvFeatureAttributeLoad (IlvInputFile &)
 Loads an attribute from an IlvInputFile.

Protected Member Functions

 IlvFeatureAttribute ()
 Constructor.

Detailed Description

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:

Feature attributes can be attached to a graphic object using an IlvFeatureAttributeProperty.


Constructor & Destructor Documentation

IlvFeatureAttribute::IlvFeatureAttribute (  )  [protected]

Constructor.

Creates a new instance of IlvFeatureAttribute.


Member Function Documentation

virtual IlvFeatureAttribute* IlvFeatureAttribute::copy (  )  const [pure virtual]

Copies the object.

Returns:
A copy of this IlvFeatureAttribute.

Implemented in IlvAttributeArray, IlvBooleanAttribute, IlvDoubleAttribute, IlvIntegerAttribute, and IlvStringAttribute.

static IlvFeatureAttribute* IlvFeatureAttribute::Load ( IlvInputFile  )  [static]

Loads an attribute from an IlvInputFile.

Parameters:
IlvInputFile The input file.
void IlvFeatureAttribute::save ( IlvOutputFile  )  const

Saves the object to an IlvOutputFile.

Parameters:
IlvOutputFile The output file.
virtual void IlvFeatureAttribute::write ( IlvOutputFile output  )  const [pure virtual]

Writes the object to an IlvOutputFile object.

Parameters:
output The output file.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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