00001 #ifndef _WINC_VARNAMEITEM
00002 #define _WINC_VARNAMEITEM
00003
00004 namespace WXP {
00005 class VarNameItem {
00006 int num;
00007 int ind[5];
00008 const static int abbr_len = 10;
00009 char abbr[10];
00010 const static int name_len = 50;
00011 char name[50];
00012
00013 public:
00014 VarNameItem();
00015 int setName( const char *str );
00016 int setAbbr( const char *str );
00017 int getInd( int ind );
00018 inline int getInd(){ return ind[0]; };
00019 const char *getAbbr(){ return abbr; };
00020 const char *getName(){ return name; };
00021 int init();
00022 int print();
00023
00024 friend class VarName;
00025 };
00026 }
00027 #endif
00028