casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Namespaces | Defines
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
 this file contains all the compiler specific defines

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 57 of file PlotMSConstants.h.

#define PMS_ENUM2 (   NAME,
  ALLMETHOD,
  ALLSTRMETHOD,
  CONVMETHOD,
  ... 
)

Definition at line 76 of file PlotMSConstants.h.