This feature attribute stores Boolean values. More...
#include <ilviews/maps/attribute/boolattr.h>
Public Member Functions | |
IlvBooleanAttribute (const IlvBooleanAttribute &source) | |
Initializes a new Boolean attribute by copying another one. More... | |
IlvBooleanAttribute (IlBoolean value) | |
Initializes a new Boolean attribute with a value. More... | |
virtual IlvFeatureAttribute * | copy () const |
Returns a copy of the object. More... | |
virtual IlBoolean | getValue () const |
Returns the value of the attribute. More... | |
void | setValue (IlBoolean 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 Boolean values.
Library: ilvmaps
IlvBooleanAttribute::IlvBooleanAttribute | ( | IlBoolean | value | ) |
Initializes a new Boolean attribute with a value.
value | The initial value of this attribute. |
IlvBooleanAttribute::IlvBooleanAttribute | ( | const IlvBooleanAttribute & | source | ) |
Initializes a new Boolean attribute by copying another one.
source | The object to be copied. |
|
virtual |
|
virtual |
Returns the value of the attribute.
void IlvBooleanAttribute::setValue | ( | IlBoolean | value | ) |
Sets the value of the attribute.
value | The new value to be set. |