Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::Attribute< bool >::ConstBoolAttributeAccessor Class Reference

Accessor class for adapting Attribute<bool> indexing. More...

#include <geogram/basic/attributes.h>

Public Member Functions

 ConstBoolAttributeAccessor (const Attribute< bool > &attribute, index_t index)
 ConstBoolAttributeAccessor constructor.
 
 operator bool () const
 Converts a BoolAttributeAccessor to a bool. More...
 

Friends

class BoolAttributeAccessor
 

Detailed Description

Accessor class for adapting Attribute<bool> indexing.

Definition at line 1542 of file attributes.h.

Member Function Documentation

◆ operator bool()

GEO::Attribute< bool >::ConstBoolAttributeAccessor::operator bool ( ) const
inline

Converts a BoolAttributeAccessor to a bool.

Performs the actual lookup.

Definition at line 1559 of file attributes.h.


The documentation for this class was generated from the following file: