CoreLinux++  0.4.32
List.hpp
1 #if !defined(__LIST_HPP)
2 #define __LIST_HPP
3 
4 /*
5  CoreLinux++
6  Copyright (C) 1999 CoreLinux Consortium
7 
8  The CoreLinux++ Library is free software; you can redistribute it and/or
9  modify it under the terms of the GNU Library General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12 
13  The CoreLinux++ Library Library is distributed in the hope that it will
14  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  Library General Public License for more details.
17 
18  You should have received a copy of the GNU Library General Public
19  License along with the GNU C Library; see the file COPYING.LIB. If not,
20  write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  Boston, MA 02111-1307, USA.
22 */
23 
24 #include <Common.hpp>
25 
26 #include <list>
27 
28 namespace corelinux
29 {
37  #define CORELINUX_LIST( type, name ) \
38  DECLARE_TYPE(std::list<type>,name); \
39  typedef name::iterator name ## Iterator; \
40  typedef name::iterator& name ## IteratorRef; \
41  typedef name::iterator* name ## IteratorPtr; \
42  typedef name::const_iterator name ## ConstIterator; \
43  typedef name::const_iterator& name ## ConstIteratorRef; \
44  typedef name::const_iterator* name ## ConstIteratorPtr; \
45  typedef name::reverse_iterator name ## Riterator; \
46  typedef name::reverse_iterator& name ## RiteratorRef; \
47  typedef name::reverse_iterator* name ## RiteratorPtr
48 
49 }
50 
51 #endif
52 
53 /*
54  Common rcs information do not modify
55  $Author: prudhomm $
56  $Revision: 1.3 $
57  $Date: 2000/08/31 22:52:20 $
58  $Locker: $
59 */
60 
61 

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium