Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

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

This feature attribute stores an attribute of type IlDouble. More...

#include <ilviews/maps/attribute/doubleattr.h>

Inheritance diagram for IlvDoubleAttribute:
IlvFeatureAttribute

Public Member Functions

 IlvDoubleAttribute (IlDouble value)
 Creates a floating point double attribute. More...
 
 IlvDoubleAttribute (const IlvDoubleAttribute &source)
 Copies this map attribute. More...
 
virtual IlvFeatureAttributecopy () const
 Returns a copy of the object. More...
 
IlDouble getValue () const
 Returns the double value of the attribute. More...
 
void setValue (IlDouble value)
 Sets the value of the attribute. More...
 
- Public Member Functions inherited from IlvFeatureAttribute
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from IlvFeatureAttribute
static IlvFeatureAttributeLoad (IlvInputFile &file)
 Loads an attribute from an IlvInputFile. More...
 
- Protected Member Functions inherited from IlvFeatureAttribute
 IlvFeatureAttribute ()
 Constructor. More...
 

Detailed Description

This feature attribute stores an attribute of type IlDouble.

Library: ilvmaps

Constructor & Destructor Documentation

IlvDoubleAttribute::IlvDoubleAttribute ( IlDouble  value)

Creates a floating point double attribute.

Parameters
valueThe value of this attribute.
IlvDoubleAttribute::IlvDoubleAttribute ( const IlvDoubleAttribute source)

Copies this map attribute.

Parameters
sourceThe object to be copied.

Member Function Documentation

virtual IlvFeatureAttribute* IlvDoubleAttribute::copy ( ) const
virtual

Returns a copy of the object.

Returns
The copy of the object.

Implements IlvFeatureAttribute.

IlDouble IlvDoubleAttribute::getValue ( ) const

Returns the double value of the attribute.

Returns
The double value.
void IlvDoubleAttribute::setValue ( IlDouble  value)

Sets the value of the attribute.

Parameters
valueThe new value to be set.

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