Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# Tools/List.h File Reference

Declaration of template class List. More...

`#include "Tools/Streams/InOut.h"`

Include dependency graph for List.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | List
| The class implements double linked lists for arbitrary data types. More...
struct | List::Data
| A struct for list nodes. More...
class | List::Pos
| The local class implements a list iterator. More...
## Functions
template<class T> Out & | operator<< (Out &, const List< T > &)
| The operator writes a list into a stream.
template<class T> In & | operator>> (In &, List< T > &)
| The operator reads a list from a stream.

## Detailed Description

Declaration of template class List.

Author:
  Thomas Röfer

Definition in file List.h.

## Function Documentation

template<class T>
Out & operator<< | ( | Out & | stream,
|  | const List< T > & | list
| ) |

  | The operator writes a list into a stream. Parameters:
  stream | The stream.
  list | The list that is written.
Returns: The stream. Definition at line 369 of file List.h.

template<class T>
In & operator>> | ( | In & | stream,
|  | List< T > & | list
| ) |

  | The operator reads a list from a stream. The original list elements are removed from the list. Parameters:
  stream | The stream.
  list | The list that is read.
Returns: The stream. Definition at line 384 of file List.h. References List< T >::clear(), and List< T >::insert().

Here is the call graph for this function: