Proud::Deque< T > Class Template Reference
Inheritance diagram for Proud::Deque< T >:

Public Member Functions

int GetCount () const
 
bool IsEmpty () const
 
void PushBack (const T &data)
 
void PeekFront (T &ret)
 
PeekFront ()
 
PopFront ()
 
void PopFront (T &ret)
 
void Clear ()
 

Member Function Documentation

template<typename T >
void Proud::Deque< T >::Clear ( )
inline

Deletes all data information.

template<typename T >
int Proud::Deque< T >::GetCount ( ) const
inline
Returns
the number of data.
template<typename T >
void Proud::Deque< T >::PeekFront ( T &  ret)
inline

TODO:translate needed. Get the very front data copied.

Parameters
[out]retThis is a reference to be copied
template<typename T >
T Proud::Deque< T >::PeekFront ( )
inline
Returns
The first data.
template<typename T >
T Proud::Deque< T >::PopFront ( )
inline

Removes the very front data from the queue and get it returned.

Returns
The very front data.
template<typename T >
void Proud::Deque< T >::PopFront ( T &  ret)
inline

Deletes the very first data from the queue and get it as reference.

Parameters
[out]retReference to receive data
template<typename T >
void Proud::Deque< T >::PushBack ( const T &  data)
inline

TODO:translate needed.

Parameters
dataData to be added