Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions
concepts::AttributeBool Class Reference

A function class to query attributes. More...

#include <semantics.hh>

Inheritance diagram for concepts::AttributeBool:
Inheritance graph
[legend]
Collaboration diagram for concepts::AttributeBool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool operator() (Attribute attrib) const
 Application operator.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Detailed Description

A function class to query attributes.

Its application operator returns true if the attribute is nonzero.

Definition at line 33 of file semantics.hh.


Member Function Documentation

virtual std::ostream& concepts::AttributeBool::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Semantics< bool >.

bool concepts::AttributeBool::operator() ( Attribute  attrib) const [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:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)