Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Queue< E > Class Template Reference

#include <sample3-inl.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

template<typename E>
class Queue< E >

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

Constructor & Destructor Documentation

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

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

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

Definition at line 79 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 82 of file sample3-inl.h.

template<typename E>
size_t Queue< E >::Size ( ) const
inline

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

template<typename E>
const Queue& Queue< E >::operator= ( const Queue< E > &  )
private

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: