Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

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

This feature attribute stores integer values. More...

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

Inheritance diagram for IlvIntegerAttribute:
IlvFeatureAttribute

Public Member Functions

 IlvIntegerAttribute (IlInt value)
 Creates an integer attribute. More...
 
 IlvIntegerAttribute (const IlvIntegerAttribute &source)
 Creates an integer attribute by copying an existing one. More...
 
virtual IlvFeatureAttributecopy () const
 Returns a copy of the object. More...
 
IlInt getValue () const
 Returns the integer value of the attribute. More...
 
void setValue (IlInt 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 integer values.

Library: ilvmaps

Constructor & Destructor Documentation

IlvIntegerAttribute::IlvIntegerAttribute ( IlInt  value)

Creates an integer attribute.

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

Creates an integer attribute by copying an existing one.

Parameters
sourceThe object to be copied.

Member Function Documentation

virtual IlvFeatureAttribute* IlvIntegerAttribute::copy ( ) const
virtual

Returns a copy of the object.

Returns
The copy of the object.

Implements IlvFeatureAttribute.

IlInt IlvIntegerAttribute::getValue ( ) const

Returns the integer value of the attribute.

Returns
The integer value.
void IlvIntegerAttribute::setValue ( IlInt  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.