|
Geogram Version 1.10.0-rc
A programming library of geometric algorithms
|
Accessor class for adapting Attribute<bool> indexing. More...
#include <geogram/basic/attributes.h>
Public Member Functions | |
| BoolAttributeAccessor (Attribute< bool > &attribute, index_t index) | |
| BoolAttributeAccessor constructor. | |
| operator bool () const | |
| Converts a BoolAttributeAccessor to a bool. | |
| BoolAttributeAccessor (const BoolAttributeAccessor &rhs) | |
| Copy-constructor. | |
| BoolAttributeAccessor & | operator= (bool x) |
| Assigns a bool to a BoolAttributeAccessor. | |
| BoolAttributeAccessor & | operator= (const BoolAttributeAccessor &rhs) |
| Copies a bool from another attribute. | |
| BoolAttributeAccessor & | operator= (const ConstBoolAttributeAccessor &rhs) |
| Copies a bool from another attribute. | |
Accessor class for adapting Attribute<bool> indexing.
Definition at line 1705 of file attributes.h.
|
inline |
BoolAttributeAccessor constructor.
Definition at line 1710 of file attributes.h.
|
inline |
Copy-constructor.
| [in] | rhs | a const reference to the BoolAttributeAccessor to be copied. |
Definition at line 1731 of file attributes.h.
|
inline |
Converts a BoolAttributeAccessor to a bool.
Performs the actual lookup.
Definition at line 1722 of file attributes.h.
|
inline |
Assigns a bool to a BoolAttributeAccessor.
Stores the boolean into the Attribute.
Definition at line 1740 of file attributes.h.
|
inline |
Copies a bool from another attribute.
| [in] | rhs | a const reference to the BoolAttributeAccessor to be copied. |
Definition at line 1750 of file attributes.h.
|
inline |
Copies a bool from another attribute.
| [in] | rhs | a const reference to the ConstBoolAttributeAccessor to be copied. |
Definition at line 1765 of file attributes.h.