repo.or.cz
/
opsoft_test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
current version
[opsoft_test.git]
/
silentbob
/
gclib
/
include
/
gclib
/
elist.h
blob
6d6fb4b21a8e146c685929144b2f8d2e6253bd30
1
/*
2
* (c) Oleg Puchinin 2006
3
* graycardinalster@gmail.com
4
*
5
*/
6
7
#ifndef DEFINE_ELIST_H
8
#define DEFINE_ELIST_H
9
10
class
EList
:
public
DList
11
{
12
public
:
13
EList
();
14
~
EList
();
15
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
();
25
}
26
inline
char
*
add
(
char
*
S
) {
27
return
add_tail
(
S
);
28
}
29
EList
&
operator
<< (
char
*);
30
31
private
:
32
__dlist_entry_t
*
pos
;
33
};
34
35
#endif
36