|
Graphite Version 3
An experimental 3D geometry processing program
|
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 1572 of file attributes.h.
|
inline |
BoolAttributeAccessor constructor.
Definition at line 1577 of file attributes.h.
|
inline |
Copy-constructor.
| [in] | rhs | a const reference to the BoolAttributeAccessor to be copied. |
Definition at line 1598 of file attributes.h.
|
inline |
Converts a BoolAttributeAccessor to a bool.
Performs the actual lookup.
Definition at line 1589 of file attributes.h.
|
inline |
Assigns a bool to a BoolAttributeAccessor.
Stores the boolean into the Attribute.
Definition at line 1607 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 1617 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 1632 of file attributes.h.