casacore
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::PredefinedKeywordsEligible
 

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

◆ Eligible

Definition at line 83 of file MeasurementSet.h.

◆ SubtableId

Definition at line 61 of file MeasurementSet.h.

Member Function Documentation

◆ allButTheseSubtables()

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

◆ allEligible()

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.

◆ defaultEligible()

static MrsEligibility casacore::MrsEligibility::defaultEligible ( )
static

◆ eligibleSubtables()

static MrsEligibility casacore::MrsEligibility::eligibleSubtables ( SubtableId  subtableId,
  ... 
)
static

◆ isEligible()

Bool casacore::MrsEligibility::isEligible ( SubtableId  subtableId) const

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

◆ isSubtable()

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

◆ noneEligible()

static MrsEligibility casacore::MrsEligibility::noneEligible ( )
static

Friends And Related Function Documentation

◆ operator+ [1/2]

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

◆ operator+ [2/2]

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

◆ operator- [1/2]

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

◆ operator- [2/2]

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.

Member Data Documentation

◆ allSubtables_p

const MrsEligibility casacore::MrsEligibility::allSubtables_p
staticprivate

Definition at line 87 of file MeasurementSet.h.

◆ eligible_p

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: