casacore
|
Functor to convert Bools to flags using a mask. More...
Public Member Functions | |
BoolToFlags (StoredType writeMask) | |
StoredType | operator() (Bool flag, StoredType value) const |
Private Attributes | |
StoredType | itsMask |
Functor to convert Bools to flags using a mask.
By default only bit 0 is set. Flag bits not affected are kept.
Definition at line 347 of file BitFlagsEngine.h.
|
inlineexplicit |
Definition at line 349 of file BitFlagsEngine.h.
|
inline |
Definition at line 350 of file BitFlagsEngine.h.
References casacore::BitFlagsEngine< StoredType >::BoolToFlags::itsMask.
|
private |
Definition at line 353 of file BitFlagsEngine.h.
Referenced by casacore::BitFlagsEngine< StoredType >::BoolToFlags::operator()().