casacore
|
Quality parameter definitions. More...
#include <Quality.h>
Public Types | |
enum | QualityTypes { Undefined, DATA, ERROR } |
enum | { NumberOfTypes } |
The number of QualityTypes. More... | |
Static Public Member Functions | |
static QualityTypes | type (Int qualityNumber) |
Convert Int to QualityTypes, returns Quality::Undefined if it is an invalid type. More... | |
static QualityTypes | type (const String &quality) |
Convert String to QualityTypes, returns Quality::Undefined if it is an unrecognized string. More... | |
static String | name (QualityTypes qualityType) |
Convert QualityTypes to String, Quality::Undefined returns "??". More... | |
static Vector< String > | allNames (Bool includeUndefined=False) |
Get all recognized quality names in no guaranteed order. More... | |
Quality parameter definitions.
This enumerates the available Quality types. This class is a wrapper for the ENUM and conversion functions. All methods are static.
anonymous enum |
Get all recognized quality names in no guaranteed order.
The undefined type can be included.
|
static |
Convert QualityTypes to String, Quality::Undefined returns "??".
|
static |
Convert Int to QualityTypes, returns Quality::Undefined if it is an invalid type.
|
static |
Convert String to QualityTypes, returns Quality::Undefined if it is an unrecognized string.
The valid strings are the same as the characters used in the enum above (i.e. "DATA" returns Quality::DATA, "ERROR" returns Quality::ERROR, etc).