concepts::AttributeBool Class Reference
A function class to query attributes. More...
#include <semantics.hh>
Inheritance diagram for concepts::AttributeBool:
Public Member Functions | |
bool | operator() (Attribute attrib) const |
Application operator. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Detailed Description
A function class to query attributes.
Its application operator returns true if the attribute is nonzero.
Definition at line 36 of file semantics.hh.
Member Function Documentation
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Semantics< bool >.
◆ operator()()
|
virtual |
Application operator.
- Returns
- True, if attrib is non-zero and false if attrib is zero.
Implements concepts::Semantics< bool >.
The documentation for this class was generated from the following file:
- geometry/semantics.hh