Views
Maps Package API Reference Guide
Product Documentation:
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 (const IlvIntegerAttribute &source)
 Initializes a new integer attribute by copying another one. More...
 
 IlvIntegerAttribute (IlInt value)
 Initializes a new integer attribute. More...
 
virtual IlvFeatureAttributecopy () const
 Returns a copy of the object. More...
 
IlInt getValue () const
 Returns the 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() [1/2]

IlvIntegerAttribute::IlvIntegerAttribute ( IlInt  value)

Initializes a new integer attribute.

Parameters
valueThe initial value of this attribute.

◆ IlvIntegerAttribute() [2/2]

IlvIntegerAttribute::IlvIntegerAttribute ( const IlvIntegerAttribute source)

Initializes a new integer attribute by copying another one.

Parameters
sourceThe object to be copied.

Member Function Documentation

◆ copy()

virtual IlvFeatureAttribute* IlvIntegerAttribute::copy ( ) const
virtual

Returns a copy of the object.

Returns
The copy of the object.

Implements IlvFeatureAttribute.

◆ getValue()

IlInt IlvIntegerAttribute::getValue ( ) const

Returns the value of the attribute.

Returns
The value of the attribute.

◆ setValue()

void IlvIntegerAttribute::setValue ( IlInt  value)

Sets the value of the attribute.

Parameters
valueThe new value to be set.