00001 #ifndef _WINC_VARDATA
00002 #define _WINC_VARDATA
00003
00004 namespace WXP {
00005 class VarData {
00006 int type;
00007 bool abs;
00008 int plot;
00009 char fore[40];
00010 char level[40];
00011 char name[40];
00012 char units[40];
00013 char format[100];
00014
00015 public:
00016 VarData();
00017 int init();
00018 int decode( const char *str );
00019 int print();
00020
00021 enum Type { NONE, PARAM, VECT, GROUP, FUNC };
00022 enum Plot { PLOT, CONTOUR, VECTOR, MAP };
00023
00024 friend class VarList;
00025 friend class VarSpec;
00026 };
00027 }
00028 #endif