casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::BFEngineMask Class Reference

Non-templated Helper class to handle the mask. More...

#include <BitFlagsEngine.h>

List of all members.

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 ROTableColumn &column)
 Make the mask from the given keywords defining the bits.
void fromRecord (const RecordInterface &spec, const ROTableColumn &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< StringitsMaskKeys
uInt itsMask

Detailed Description

Non-templated Helper class to handle the mask.

Intended use:

Internal

Definition at line 40 of file BitFlagsEngine.h.


Constructor & Destructor Documentation

casa::BFEngineMask::BFEngineMask ( uInt  mask = 0xffffffff) [explicit]

Form the mask as given.

casa::BFEngineMask::BFEngineMask ( const Array< String > &  keys,
uInt  defaultMask 
)

Form the mask from the given keywords defining the bits.


Member Function Documentation

void casa::BFEngineMask::fromRecord ( const RecordInterface spec,
const ROTableColumn column,
const String prefix 
)

Form the read mask from the specification.

If keywords are given, the mask is formed from them.

const Array<String>& casa::BFEngineMask::getKeys ( ) const [inline]

Get the mask keywords.

Definition at line 64 of file BitFlagsEngine.h.

References itsMaskKeys.

uInt casa::BFEngineMask::getMask ( ) const [inline]

Get the mask.

Definition at line 60 of file BitFlagsEngine.h.

References itsMask.

void casa::BFEngineMask::makeMask ( const ROTableColumn column)

Make the mask from the given keywords defining the bits.

void casa::BFEngineMask::toRecord ( RecordInterface spec,
const String prefix 
) const

Store the info in a Record.


Member Data Documentation

Definition at line 69 of file BitFlagsEngine.h.

Referenced by getMask().

Definition at line 68 of file BitFlagsEngine.h.

Referenced by getKeys().


The documentation for this class was generated from the following file: