Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
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 wether there is a cached sense value. | |
CELER_CONSTEXPR_FUNCTION void | clear () |
Clear the sense value. | |
Wrapper for a sense value that is optionally set.