WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ResrcDBList.h
1#ifndef _WINC_RESRCDBLIST
2#define _WINC_RESRCDBLIST
3
4#include <WXP/ResrcDBItem.h>
5
6namespace WXP {
7 class ResrcDBList {
8 ResrcDBItem *beg;
9 ResrcDBItem *last;
10 ResrcDBItem *cur;
11 int num;
12
13 public:
15 int add( const char *name, const char *env, const char *cmdln, const char *help );
16 int add( ResrcDBItem &item );
17 int rewind();
18 const ResrcDBItem *first();
19 int first( ResrcDBItem &item );
20 const ResrcDBItem *next();
21 int next( ResrcDBItem &item );
22 const ResrcDBItem *get( int ind );
23 int get( int ind, ResrcDBItem &item );
25 inline int getNum(){ return num; };
26 int print();
27 };
28}
29#endif
This class stores resource database information.
Definition ResrcDBList.h:7
const ResrcDBItem * first()
Definition ResrcDBList.cc:65
int print()
Definition ResrcDBList.cc:147
ResrcDBList()
Definition ResrcDBList.cc:19
const ResrcDBItem * get(int ind)
Definition ResrcDBList.cc:116
const ResrcDBItem * next()
Definition ResrcDBList.cc:88
int getNum()
Definition ResrcDBList.h:25
int add(const char *name, const char *env, const char *cmdln, const char *help)
Definition ResrcDBList.cc:33
int rewind()
Definition ResrcDBList.cc:56
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines specific resource parameters.
Definition ResrcDBItem.h:5