Views
Maps Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvBooleanAttribute Class Reference

This feature attribute stores Boolean values. More...

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

Inheritance diagram for IlvBooleanAttribute:
IlvFeatureAttribute

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 IlvFeatureAttributecopy () 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 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 Boolean values.

Library: ilvmaps

Constructor & Destructor Documentation

◆ IlvBooleanAttribute() [1/2]

IlvBooleanAttribute::IlvBooleanAttribute ( IlBoolean  value)

Initializes a new Boolean attribute with a value.

Parameters
valueThe initial value of this attribute.

◆ IlvBooleanAttribute() [2/2]

IlvBooleanAttribute::IlvBooleanAttribute ( const IlvBooleanAttribute source)

Initializes a new Boolean attribute by copying another one.

Parameters
sourceThe object to be copied.

Member Function Documentation

◆ copy()

virtual IlvFeatureAttribute* IlvBooleanAttribute::copy ( ) const
virtual

Returns a copy of the object.

Returns
The copy of the object.

Implements IlvFeatureAttribute.

◆ getValue()

virtual IlBoolean IlvBooleanAttribute::getValue ( ) const
virtual

Returns the value of the attribute.

Returns
The value of the attribute.

◆ setValue()

void IlvBooleanAttribute::setValue ( IlBoolean  value)

Sets the value of the attribute.

Parameters
valueThe new value to be set.