This feature attribute stores integer values. More...
#include <ilviews/maps/attribute/intattr.h>
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 IlvFeatureAttribute * | copy () 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 IlvFeatureAttribute * | Load (IlvInputFile &file) |
Loads an attribute from an IlvInputFile . More... | |
Protected Member Functions inherited from IlvFeatureAttribute | |
IlvFeatureAttribute () | |
Constructor. More... | |
This feature attribute stores integer values.
Library: ilvmaps
IlvIntegerAttribute::IlvIntegerAttribute | ( | IlInt | value | ) |
Initializes a new integer attribute.
value | The initial value of this attribute. |
IlvIntegerAttribute::IlvIntegerAttribute | ( | const IlvIntegerAttribute & | source | ) |
Initializes a new integer attribute by copying another one.
source | The object to be copied. |
|
virtual |
IlInt IlvIntegerAttribute::getValue | ( | ) | const |
Returns the value of the attribute.
void IlvIntegerAttribute::setValue | ( | IlInt | value | ) |
Sets the value of the attribute.
value | The new value to be set. |