WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
VarNameItem.h
1#ifndef _WINC_VARNAMEITEM
2#define _WINC_VARNAMEITEM
3
4namespace WXP {
5 class VarNameItem {
6 int num;
7 int ind[5];
8 static const int abbr_len = 30;
9 char abbr[30];
10 static const int name_len = 50;
11 char name[50];
12
13 public:
15 int setName( const char *str );
16 int setAbbr( const char *str );
17 int getInd( int ind );
19 inline int getInd(){ return ind[0]; };
20 const char *getAbbr(){ return abbr; };
21 const char *getName(){ return name; };
22 int init();
23 int print();
24
25 friend class VarName;
26 };
27}
28#endif
29
This class manages each item in the variable list.
Definition VarNameItem.h:5
int print()
Definition VarNameItem.cc:65
int setName(const char *str)
Definition VarNameItem.cc:39
int init()
Definition VarNameItem.cc:26
VarNameItem()
Definition VarNameItem.cc:19
int setAbbr(const char *str)
Definition VarNameItem.cc:48
int getInd()
Definition VarNameItem.h:19
All WXP classes fall under the WXP namespace.
Definition Angle.h:4