|
Celeritas 0.7.0-dev.172+develop.fe2a0acd4
|
Wrapper for a sense value that is optionally set. More...
#include <SenseUtils.hh>
Public Member Functions | |
| CELER_CONSTEXPR_FUNCTION | SenseValue (Sense sense) |
| Construct with a sense value. | |
| CELER_CONSTEXPR_FUNCTION | operator Sense () const |
| Convert to a sense value. | |
| CELER_CONSTEXPR_FUNCTION | operator bool () const |
| Convert to a boolean value. | |
| CELER_CONSTEXPR_FUNCTION SenseValue & | operator= (Sense sense) |
| Assign a sense value. | |
| CELER_CONSTEXPR_FUNCTION bool | is_assigned () const |
| Check whether there is a cached sense value. | |
| CELER_CONSTEXPR_FUNCTION void | reset () |
| Clear the sense value. | |
Wrapper for a sense value that is optionally set.