Public Member Functions | Private Member Functions | Private Attributes
Queue< E > Class Template Reference

#include <sample3-inl.h>

List of all members.

Public Member Functions

void Clear ()
E * Dequeue ()
void Enqueue (const E &element)
QueueNode< E > * Head ()
const QueueNode< E > * Head () const
QueueNode< E > * Last ()
const QueueNode< E > * Last () const
template<typename F >
QueueMap (F function) const
 Queue ()
size_t Size () const
 ~Queue ()

Private Member Functions

const Queueoperator= (const Queue &)
 Queue (const Queue &)

Private Attributes

QueueNode< E > * head_
QueueNode< E > * last_
size_t size_

Detailed Description

template<typename E>
class Queue< E >

Definition at line 74 of file sample3-inl.h.


Constructor & Destructor Documentation

template<typename E>
Queue< E >::Queue ( ) [inline]

Definition at line 77 of file sample3-inl.h.

template<typename E>
Queue< E >::~Queue ( ) [inline]

Definition at line 80 of file sample3-inl.h.

template<typename E>
Queue< E >::Queue ( const Queue< E > &  ) [private]

Member Function Documentation

template<typename E>
void Queue< E >::Clear ( ) [inline]

Definition at line 83 of file sample3-inl.h.

template<typename E>
E* Queue< E >::Dequeue ( ) [inline]

Definition at line 131 of file sample3-inl.h.

template<typename E>
void Queue< E >::Enqueue ( const E &  element) [inline]

Definition at line 116 of file sample3-inl.h.

template<typename E>
QueueNode<E>* Queue< E >::Head ( ) [inline]

Definition at line 105 of file sample3-inl.h.

template<typename E>
const QueueNode<E>* Queue< E >::Head ( ) const [inline]

Definition at line 106 of file sample3-inl.h.

template<typename E>
QueueNode<E>* Queue< E >::Last ( ) [inline]

Definition at line 109 of file sample3-inl.h.

template<typename E>
const QueueNode<E>* Queue< E >::Last ( ) const [inline]

Definition at line 110 of file sample3-inl.h.

template<typename E>
template<typename F >
Queue* Queue< E >::Map ( F  function) const [inline]

Definition at line 153 of file sample3-inl.h.

template<typename E>
const Queue& Queue< E >::operator= ( const Queue< E > &  ) [private]
template<typename E>
size_t Queue< E >::Size ( ) const [inline]

Definition at line 102 of file sample3-inl.h.


Member Data Documentation

template<typename E>
QueueNode<E>* Queue< E >::head_ [private]

Definition at line 163 of file sample3-inl.h.

template<typename E>
QueueNode<E>* Queue< E >::last_ [private]

Definition at line 164 of file sample3-inl.h.

template<typename E>
size_t Queue< E >::size_ [private]

Definition at line 165 of file sample3-inl.h.


The documentation for this class was generated from the following file:


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:10