current version
[opsoft_test.git] / silentbob / gclib / include / gclib / elist.h
blob6d6fb4b21a8e146c685929144b2f8d2e6253bd30
1 /*
2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
5 */
7 #ifndef DEFINE_ELIST_H
8 #define DEFINE_ELIST_H
10 class EList : public DList
12 public:
13 EList ();
14 ~EList ();
16 char * get ();
17 char * first ();
18 char * last ();
19 char * next ();
20 char * prev ();
21 char * rm ();
22 bool eol ();
23 inline char * del () {
24 return rm ();
26 inline char * add (char *S) {
27 return add_tail (S);
29 EList & operator << (char *);
31 private:
32 __dlist_entry_t * pos;
35 #endif