Enumerations | |
enum | Type { X = 0, Y = 1, Z = 2, W = 3, XE = 4, YE = 5, T = 10, UNKNOWN = 1000 } |
Axes constants. More... | |
Functions | |
Type | convert (unsigned int i) |
Converts from integer represenation to Axes::Tyoe representation. | |
Type | convert (const std::string &axis) |
Converts from string representation ot Axes::Type representation. | |
Variables | |
static Type | types [] = { X, Y, Z, W, XE, YE, UNKNOWN } |
An array to allow conversion of integer to enumeration. |
enum Type |
Axes constants.
The axes constants are used to access and set attributes of PlotterBase objects.
X | X axis. |
Y | Y axis. |
Z | Z axis. |
W | weight |
XE | X error or width. |
YE | Y error or width. |
T | title |
UNKNOWN |
Definition at line 31 of file AxesType.h.
Type MDL_HIPPOPLOT_API convert | ( | unsigned int | i | ) |
Converts from integer represenation to Axes::Tyoe representation.
Definition at line 43 of file AxesType.cxx.
Type MDL_HIPPOPLOT_API convert | ( | const std::string & | axis | ) |
Converts from string representation ot Axes::Type representation.
Definition at line 32 of file AxesType.cxx.
References T, num_util::type(), UNKNOWN, X, Y, and Z.
Referenced by Inspector::axis_button_group_clicked(), PlotterBaseXML::createFontElements(), and QtCut::setCutRange().
An array to allow conversion of integer to enumeration.
Definition at line 30 of file AxesType.cxx.
Referenced by convert().