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)
 Initializes a new floating point attribute. More...
 
 IlvDoubleAttribute (const IlvDoubleAttribute &source)
 Initializes a new floating point attribute by copying another one. More...
 
virtual IlvFeatureAttributecopy () const
 Returns a copy of the object. More...
 
IlDouble getValue () const
 Returns the 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() [1/2]

IlvDoubleAttribute::IlvDoubleAttribute ( IlDouble  value)

Initializes a new floating point attribute.

Parameters
valueThe initial value of this attribute.

§ IlvDoubleAttribute() [2/2]

IlvDoubleAttribute::IlvDoubleAttribute ( const IlvDoubleAttribute source)

Initializes a new floating point attribute by copying another one.

Parameters
sourceThe object to be copied.

Member Function Documentation

§ copy()

virtual IlvFeatureAttribute* IlvDoubleAttribute::copy ( ) const
virtual

Returns a copy of the object.

Returns
The copy of the object.

Implements IlvFeatureAttribute.

§ getValue()

IlDouble IlvDoubleAttribute::getValue ( ) const

Returns the value of the attribute.

Returns
The value of the attribute.

§ setValue()

void IlvDoubleAttribute::setValue ( IlDouble  value)

Sets the value of the attribute.

Parameters
valueThe new value to be set.

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