PlotMSConstants.h File Reference

Go to the source code of this file.

Classes

class  casa::PMS
 Container class for useful constants/methods. More...

Namespaces

namespace  casa
 

----------------------------------------------------------------------------- Start of casa namespace -----------------------------------------------------------------------------


Defines

#define PMS_ENUM1(NAME, ALLMETHOD, ALLSTRMETHOD, CONVMETHOD,...)
 Useful macros for defining enums.
#define PMS_ENUM2(NAME, ALLMETHOD, ALLSTRMETHOD, CONVMETHOD,...)

Define Documentation

#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 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 vector of the string representation of all defined members of the enum, CONVMETHOD: name of the method that converts between the enum and its 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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1