friendev EtherDune TCP/IP library
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
/home/jander/temp/etherdune/List.h
Go to the documentation of this file.
1
// EtherDune Linked list class
2
// Author: Javier Peletier <jm@friendev.com>
3
//
4
// Copyright (c) 2015 All Rights Reserved, http://friendev.com
5
//
6
// This source is subject to the GPLv2 license.
7
// Please see the License.txt file for more information.
8
// All other rights reserved.
9
//
10
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
11
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
12
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
13
// PARTICULAR PURPOSE.
14
17
20
21
#ifndef _LIST_h
22
#define _LIST_h
23
24
#include <ACross.h>
25
#include "
config.h
"
26
27
class
List
;
28
29
class
ListItem
30
{
31
friend
class
List
;
32
33
public
:
34
35
ListItem
();
36
37
protected
:
38
39
ListItem
*
nextItem
;
40
41
};
42
43
class
List
44
{
45
public
:
46
47
ListItem
*
first
;
48
49
List
();
50
51
void
add
(
ListItem
* item);
52
void
remove
(
ListItem
* item);
53
54
};
55
56
57
#endif
58
ListItem
Base list item class.
Definition:
List.h:29
List::List
List()
Definition:
List.cpp:22
ListItem::nextItem
ListItem * nextItem
Definition:
List.h:39
config.h
ListItem::ListItem
ListItem()
Definition:
List.cpp:17
List::first
ListItem * first
Definition:
List.h:47
List::add
void add(ListItem *item)
Definition:
List.cpp:27
List
Basic linked list class.
Definition:
List.h:43
Generated on Mon Mar 23 2015 00:04:42 for friendev EtherDune TCP/IP library by
1.8.9.1