Qucs-core  0.0.19
Public Member Functions | Private Member Functions | Private Attributes
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 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 ( 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.


Field 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: