casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
casacore::MrsEligibility Class Reference

#include <MeasurementSet.h>

Public Types

typedef
MSMainEnums::PredefinedKeywords 
SubtableId
 

Public Member Functions

Bool isEligible (SubtableId subtableId) const
 Returns true if the specified subtable is in the set of subtables eligible for memory residency. More...
 

Static Public Member Functions

static MrsEligibility allEligible ()
 Factory methods to create MrsEligibility sets. More...
 
static MrsEligibility defaultEligible ()
 
static MrsEligibility noneEligible ()
 
static MrsEligibility eligibleSubtables (SubtableId subtableId,...)
 
static MrsEligibility allButTheseSubtables (SubtableId ineligibleSubtableId,...)
 

Private Types

typedef std::set
< MSMainEnums::PredefinedKeywords
Eligible
 

Static Private Member Functions

static Bool isSubtable (SubtableId subtableId)
 

Private Attributes

Eligible eligible_p
 

Static Private Attributes

static const MrsEligibility allSubtables_p
 

Friends

MrsEligibility operator- (const MrsEligibility &a, SubtableId subtableId)
 Creates a new MrsEligibilitySet by adding or removing the specified subtable or the specified set of subtables. More...
 
MrsEligibility operator+ (const MrsEligibility &a, SubtableId subtableId)
 
MrsEligibility operator- (const MrsEligibility &a, const MrsEligibility &b)
 
MrsEligibility operator+ (const MrsEligibility &a, const MrsEligibility &b)
 

Detailed Description

Definition at line 57 of file MeasurementSet.h.

Member Typedef Documentation

Definition at line 83 of file MeasurementSet.h.

Definition at line 61 of file MeasurementSet.h.

Member Function Documentation

static MrsEligibility casacore::MrsEligibility::allButTheseSubtables ( SubtableId  ineligibleSubtableId,
  ... 
)
static
static MrsEligibility casacore::MrsEligibility::allEligible ( )
static

Factory methods to create MrsEligibility sets.

The two variable argument methods require that the list be terminated by using the id MSMainEnums::UNDEFINED_KEYWORD.

static MrsEligibility casacore::MrsEligibility::defaultEligible ( )
static
static MrsEligibility casacore::MrsEligibility::eligibleSubtables ( SubtableId  subtableId,
  ... 
)
static
Bool casacore::MrsEligibility::isEligible ( SubtableId  subtableId) const

Returns true if the specified subtable is in the set of subtables eligible for memory residency.

static Bool casacore::MrsEligibility::isSubtable ( SubtableId  subtableId)
staticprivate
static MrsEligibility casacore::MrsEligibility::noneEligible ( )
static

Friends And Related Function Documentation

MrsEligibility operator+ ( const MrsEligibility a,
SubtableId  subtableId 
)
friend
MrsEligibility operator+ ( const MrsEligibility a,
const MrsEligibility b 
)
friend
MrsEligibility operator- ( const MrsEligibility a,
SubtableId  subtableId 
)
friend

Creates a new MrsEligibilitySet by adding or removing the specified subtable or the specified set of subtables.

MrsEligibility operator- ( const MrsEligibility a,
const MrsEligibility b 
)
friend

Member Data Documentation

const MrsEligibility casacore::MrsEligibility::allSubtables_p
staticprivate

Definition at line 87 of file MeasurementSet.h.

Eligible casacore::MrsEligibility::eligible_p
private

Definition at line 85 of file MeasurementSet.h.


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