|
casacore
|
#include <BitFlagsEngine.h>
Public Member Functions | |
| BFEngineMask (uInt mask=0xffffffff) | |
| Form the mask as given. | |
| BFEngineMask (const Array< String > &keys, uInt defaultMask) | |
| Form the mask from the given keywords defining the bits. | |
| void | makeMask (const TableColumn &column) |
| Make the mask from the given keywords defining the bits. | |
| void | fromRecord (const RecordInterface &spec, const TableColumn &column, const String &prefix) |
| Form the read mask from the specification. | |
| void | toRecord (RecordInterface &spec, const String &prefix) const |
| Store the info in a Record. | |
| uInt | getMask () const |
| Get the mask. | |
| const Array< String > & | getKeys () const |
| Get the mask keywords. | |
Private Attributes | |
| Array< String > | itsMaskKeys |
| uInt | itsMask |
Non-templated Helper class to handle the mask.
Internal
Definition at line 39 of file BitFlagsEngine.h.
|
explicit |
Form the mask as given.
Form the mask from the given keywords defining the bits.
| void casacore::BFEngineMask::fromRecord | ( | const RecordInterface & | spec, |
| const TableColumn & | column, | ||
| const String & | prefix | ||
| ) |
Form the read mask from the specification.
If keywords are given, the mask is formed from them.
|
inline |
| void casacore::BFEngineMask::makeMask | ( | const TableColumn & | column | ) |
Make the mask from the given keywords defining the bits.
| void casacore::BFEngineMask::toRecord | ( | RecordInterface & | spec, |
| const String & | prefix | ||
| ) | const |
Store the info in a Record.
|
private |
Definition at line 68 of file BitFlagsEngine.h.
Referenced by getMask().
Definition at line 67 of file BitFlagsEngine.h.
Referenced by getKeys().