17 static const int max_abbr = 40;
18 static const int max_name = 40;
19 static const int max_units = 20;
23 Variable(
const char *ab,
const char *unit );
25 int set(
const char *ab );
26 int set(
const char *ab,
const char *unit );
34 inline int setVal1(
float val ){ val1 = val;
return 1; };
38 inline int setVal2(
float val ){ val2 = val;
return 1; };
43 inline const char *
getName(){
return name; };
46 inline const char *
getAbbr(){
return abbr; };
49 inline const char *
getUnits(){
return units; };
54 int decode(
const char *str );
This is a variable length string class.
Definition String.h:5
This class specifies variable information.
Definition Variable.h:7
int setInd(int t)
Definition Variable.cc:92
float getVal1()
Definition Variable.h:36
int setName(const char *str)
Definition Variable.cc:101
int getType()
Definition Variable.h:29
int print()
Definition Variable.cc:582
Variable()
Definition Variable.cc:24
int setVal2(float val)
Definition Variable.h:38
int setUnits(const char *str)
Definition Variable.cc:119
int toIndCode()
Definition Variable.cc:290
int toAbbrCode(String &str)
Definition Variable.cc:403
const char * getUnits()
Definition Variable.h:49
int setAbbr(const char *str)
Definition Variable.cc:110
const char * getName()
Definition Variable.h:43
int set(const char *ab)
Definition Variable.cc:63
float getVal2()
Definition Variable.h:40
int toString(String &str)
Definition Variable.cc:218
int setVal1(float val)
Definition Variable.h:34
int toLabel(String &str)
Definition Variable.cc:128
int getInd()
Definition Variable.h:32
const char * getAbbr()
Definition Variable.h:46
int setType(int t)
Definition Variable.cc:83
int init()
Definition Variable.cc:48
int decode(const char *str)
Definition Variable.cc:478
All WXP classes fall under the WXP namespace.
Definition Angle.h:4