casa
5.7.0-16
|
#include <casa/Containers/Record.h>
#include <graphics/GenericPlotter/PlotFactory.h>
#include <map>
#include <vector>
Go to the source code of this file.
Classes | |
class | casa::PMS |
Container class for useful constants/methods. More... | |
Namespaces | |
casa | |
-*- mode: c++ -*- | |
Macros | |
#define | PMS_ENUM1(NAME, ALLMETHOD, ALLSTRMETHOD, CONVMETHOD,...) |
Useful macros for defining enums. More... | |
#define | PMS_ENUM2(NAME, ALLMETHOD, ALLSTRMETHOD, CONVMETHOD,...) |
#define PMS_ENUM1 | ( | NAME, | |
ALLMETHOD, | |||
ALLSTRMETHOD, | |||
CONVMETHOD, | |||
... | |||
) |
Useful macros for defining enums.
Although the two macros can be used separately, their intended use is for them to be used sequentially. Parameters: NAME: name of the enum, ALLMETHOD: name of the method that returns a std::vector of all defined members of the enum (also nALLMETHOD which returns the number of defined members in the enum), ALLSTRMETHOD: name of the method that returns a std::vector of the string representation of all defined members of the enum, CONVMETHOD: name of the method that converts between the enum and its casacore::String representation, ... (VA_ARGS): list of enum methods for PMS_ENUM1 and list of their string representations for PMS_ENUM2. IMPORTANT: if both macros are used then the lists must be the same size and in the same order.
Definition at line 54 of file PlotMSConstants.h.
#define PMS_ENUM2 | ( | NAME, | |
ALLMETHOD, | |||
ALLSTRMETHOD, | |||
CONVMETHOD, | |||
... | |||
) |
Definition at line 73 of file PlotMSConstants.h.