rwlogo

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave 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 (IlBoolean value)
 Creates a logical attribute with the specified value. More...
 
 IlvBooleanAttribute (const IlvBooleanAttribute &source)
 Creates a new object by copy. More...
 
virtual IlvFeatureAttributecopy () const
 Returns a copy of the object. More...
 
virtual IlBoolean getValue () const
 Returns the logical value of the attribute. More...
 
void setValue (IlBoolean value)
 Sets the logical value of the attribute. More...
 
- Public Member Functions inherited from IlvFeatureAttribute
void save (IlvOutputFile &) 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 &)
 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::IlvBooleanAttribute ( IlBoolean  value)

Creates a logical attribute with the specified value.

Parameters
valueThe value (IlTrue or IlFalse).
IlvBooleanAttribute::IlvBooleanAttribute ( const IlvBooleanAttribute source)

Creates a new object by copy.

Parameters
sourceThe object to be copied.

Member Function Documentation

virtual IlvFeatureAttribute* IlvBooleanAttribute::copy ( ) const
virtual

Returns a copy of the object.

Returns
The copy of the object.

Implements IlvFeatureAttribute.

virtual IlBoolean IlvBooleanAttribute::getValue ( ) const
virtual

Returns the logical value of the attribute.

Returns
The logical value of the attribute.
void IlvBooleanAttribute::setValue ( IlBoolean  value)

Sets the logical value of the attribute.

Parameters
valueThe new value to be set.

© Copyright 2014, 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.