WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
VCoord.h
1#ifndef _WINC_VCOORD
2#define _WINC_VCOORD
3
4namespace WXP {
5 class VCoord {
6 int type;
7 float val;
8 public:
9
10 VCoord();
11 VCoord( int rtype, float rval );
12 int init();
13 int set( int rtype, float rval );
15 inline int setType( int rtype ){ type = rtype; return 1; };
17 inline int getType(){ return type; };
19 inline int setVal( float rval ){ val = rval; return 1; };
21 inline float getVal(){ return val; };
22 int print();
23
25 enum Type {
33 POT
34 };
36 static const int PRESS = PRES;
37
38 static bool equal( VCoord a, VCoord b );
39
40 friend class Level;
41 };
42}
43#endif
This class defines vertical level parameters.
Definition Level.h:8
This structure defines a vertical coordinate (type,val)
Definition VCoord.h:5
VCoord()
Definition VCoord.cc:18
Type
Definition VCoord.h:25
@ MAXWND
Definition VCoord.h:29
@ LCL
Definition VCoord.h:28
@ TROP
Definition VCoord.h:30
@ PRES
Definition VCoord.h:31
@ HEIGHT
Definition VCoord.h:32
@ SFC
Definition VCoord.h:26
@ FREEZE
Definition VCoord.h:27
@ POT
Definition VCoord.h:33
float getVal()
Definition VCoord.h:21
static const int PRESS
Definition VCoord.h:36
int getType()
Definition VCoord.h:17
int setType(int rtype)
Definition VCoord.h:15
int setVal(float rval)
Definition VCoord.h:19
int print()
Definition VCoord.cc:66
static bool equal(VCoord a, VCoord b)
Definition VCoord.cc:57
int set(int rtype, float rval)
Definition VCoord.cc:45
int init()
Definition VCoord.cc:34
All WXP classes fall under the WXP namespace.
Definition Angle.h:4