Geogram Version 1.9.6-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 1592 of file attributes.h.
|
inline |
BoolAttributeAccessor constructor.
Definition at line 1597 of file attributes.h.
|
inline |
Copy-constructor.
[in] | rhs | a const reference to the BoolAttributeAccessor to be copied. |
Definition at line 1618 of file attributes.h.
|
inline |
Converts a BoolAttributeAccessor to a bool.
Performs the actual lookup.
Definition at line 1609 of file attributes.h.
|
inline |
Assigns a bool to a BoolAttributeAccessor.
Stores the boolean into the Attribute.
Definition at line 1627 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 1637 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 1652 of file attributes.h.