WXP C++ Library Version 6.74.9
|
This class defines vertical level parameters. More...
#include "../include/GridSpec.h"
Public Member Functions | |
GridSpec () | |
GridSpec (const char *str) | |
int | init () |
int | set (int rmod, int rtype, int t, int lt, int l, int v) |
int | set (const char *str) |
int | decode (const char *str) |
int | setNum (int val) |
int | getNum () |
int | setModel (int val) |
int | getModel () |
int | setType (int val) |
int | getType () |
int | setTime (int val) |
int | getTime () |
int | getTimeType () |
int | getTimeOffset () |
int | getTime1 () |
int | getTime2 () |
int | setLevelType (int val) |
int | getLevelType () |
int | setLevel (int val) |
int | getLevel () |
int | setVar (int val) |
int | setVar (int i, int val) |
int | getVar () |
bool | isSet () |
bool | isVarSet () |
int | setUnits (const char *str) |
const char * | getUnits () |
int | print () |
Static Public Member Functions | |
static bool | equal (GridSpec gs1, GridSpec gs2) |
This class defines vertical level parameters.
GridSpec::GridSpec | ( | ) |
Constructor. Initializes data values
References init().
GridSpec::GridSpec | ( | const char * | str | ) |
Constructor. Initializes data values
References init().
int GridSpec::init | ( | ) |
Initializes data values
References WXP::StrLib::clear(), and WXP::Const::MISS.
Referenced by WXP::GridPlot::draw(), WXP::GridVect::draw(), WXP::MosPlot::draw(), WXP::SfcPlot::draw(), WXP::UpaPlot::draw(), GridSpec(), and GridSpec().
int GridSpec::set | ( | int | rmod, |
int | rtype, | ||
int | t, | ||
int | lt, | ||
int | l, | ||
int | v | ||
) |
Sets the parameters in the class
Referenced by WXP::GridCont::draw(), WXP::ImagePlot::draw(), WXP::Grid::getSpec(), and WXP::Grid::getSpec().