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. More... | |
BoolAttributeAccessor (const BoolAttributeAccessor &rhs) | |
Copy-constructor. More... | |
BoolAttributeAccessor & | operator= (bool x) |
Assigns a bool to a BoolAttributeAccessor. More... | |
BoolAttributeAccessor & | operator= (const BoolAttributeAccessor &rhs) |
Copies a bool from another attribute. More... | |
BoolAttributeAccessor & | operator= (const ConstBoolAttributeAccessor &rhs) |
Copies a bool from another attribute. More... | |
Accessor class for adapting Attribute<bool> indexing.
Definition at line 1574 of file attributes.h.
|
inline |
Copy-constructor.
[in] | rhs | a const reference to the BoolAttributeAccessor to be copied. |
Definition at line 1600 of file attributes.h.
|
inline |
Converts a BoolAttributeAccessor to a bool.
Performs the actual lookup.
Definition at line 1591 of file attributes.h.
|
inline |
Assigns a bool to a BoolAttributeAccessor.
Stores the boolean into the Attribute.
Definition at line 1609 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 1619 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 1634 of file attributes.h.