|
Geogram Version 1.9.7
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 1636 of file attributes.h.
|
inline |
BoolAttributeAccessor constructor.
Definition at line 1641 of file attributes.h.
|
inline |
Copy-constructor.
| [in] | rhs | a const reference to the BoolAttributeAccessor to be copied. |
Definition at line 1662 of file attributes.h.
|
inline |
Converts a BoolAttributeAccessor to a bool.
Performs the actual lookup.
Definition at line 1653 of file attributes.h.
|
inline |
Assigns a bool to a BoolAttributeAccessor.
Stores the boolean into the Attribute.
Definition at line 1671 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 1681 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 1696 of file attributes.h.