COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::coDeque< T > Class Template Reference

#include <coDeque.h>

Public Member Functions

 coDeque (void)
 
 ~coDeque (void)
 
T & operator[] (int index)
 direct list access More...
 
const T & operator[] (int index) const
 direct list access More...
 
void pushFront (const T &in_data)
 push one element at the beginning of the queue More...
 
void pushBack (const T &in_data)
 push one element at the end of the queue More...
 
void popFront (void)
 pop one element from the beginning of the queue More...
 
void popBack (void)
 pop one element from the end of the queue More...
 
int isBad ()
 get the error id if something goes wrong More...
 
int size (void)
 returns the size of the queue More...
 
void print (void)
 print out the contents of the queue More...
 

Private Attributes

T * data
 
int dim
 
int error
 

Constructor & Destructor Documentation

template<class T >
covise::coDeque< T >::coDeque ( void  )
inline
template<class T >
covise::coDeque< T >::~coDeque ( void  )
inline

Member Function Documentation

template<class T >
int covise::coDeque< T >::isBad ( )
inline

get the error id if something goes wrong

template<class T >
T & covise::coDeque< T >::operator[] ( int  index)
inline

direct list access

template<class T >
const T & covise::coDeque< T >::operator[] ( int  index) const
inline

direct list access

template<class T >
void covise::coDeque< T >::popBack ( void  )
inline

pop one element from the end of the queue

template<class T >
void covise::coDeque< T >::popFront ( void  )
inline

pop one element from the beginning of the queue

template<class T >
void covise::coDeque< T >::print ( void  )
inline

print out the contents of the queue

template<class T >
void covise::coDeque< T >::pushBack ( const T &  in_data)
inline

push one element at the end of the queue

template<class T >
void covise::coDeque< T >::pushFront ( const T &  in_data)
inline

push one element at the beginning of the queue

template<class T >
int covise::coDeque< T >::size ( void  )
inline

returns the size of the queue

Member Data Documentation

template<class T >
T* covise::coDeque< T >::data
private
template<class T >
int covise::coDeque< T >::dim
private
template<class T >
int covise::coDeque< T >::error
private

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