WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
WXP::GridSpec Class Reference

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)
 

Detailed Description

This class defines vertical level parameters.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ GridSpec() [1/2]

GridSpec::GridSpec ( )

Constructor. Initializes data values

References init().

◆ GridSpec() [2/2]

GridSpec::GridSpec ( const char *  str)

Constructor. Initializes data values

References init().

Member Function Documentation

◆ init()

int GridSpec::init ( )

◆ set()

int GridSpec::set ( int  rmod,
int  rtype,
int  t,
int  lt,
int  l,
int  v 
)

Sets the parameters in the class

Parameters
rmodModel number
rtypeGrid type
tTime specification
ltLevel type
lLevel value
vVariable

Referenced by WXP::GridCont::draw(), WXP::ImagePlot::draw(), WXP::Grid::getSpec(), and WXP::Grid::getSpec().


The documentation for this class was generated from the following files: