OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::CircularQueue< T > Class Template Reference

Public Member Functions

void clear (void)
 Clear the queue.
 
elementAt (size_t idx) const
 
void removeFirst ()
 
void removeItems (size_t nb)
 
void append (const T &t)
 
size_t entries () const
 

Detailed Description

template<class T>
class antlr::CircularQueue< T >

Definition at line 24 of file CircularQueue.hpp.

Constructor & Destructor Documentation

◆ CircularQueue()

template<class T >
antlr::CircularQueue< T >::CircularQueue ( )
inline

Definition at line 26 of file CircularQueue.hpp.

◆ ~CircularQueue()

template<class T >
antlr::CircularQueue< T >::~CircularQueue ( )
inline

Definition at line 31 of file CircularQueue.hpp.

Member Function Documentation

◆ append()

template<class T >
void antlr::CircularQueue< T >::append ( const T & t)
inline

Definition at line 79 of file CircularQueue.hpp.

◆ clear()

template<class T >
void antlr::CircularQueue< T >::clear ( void )
inline

Clear the queue.

Definition at line 36 of file CircularQueue.hpp.

◆ elementAt()

template<class T >
T antlr::CircularQueue< T >::elementAt ( size_t idx) const
inline
Todo
this should use at or should have a check

Definition at line 43 of file CircularQueue.hpp.

◆ entries()

template<class T >
size_t antlr::CircularQueue< T >::entries ( ) const
inline

Definition at line 83 of file CircularQueue.hpp.

◆ removeFirst()

template<class T >
void antlr::CircularQueue< T >::removeFirst ( )
inline

Definition at line 47 of file CircularQueue.hpp.

◆ removeItems()

template<class T >
void antlr::CircularQueue< T >::removeItems ( size_t nb)
inline

Definition at line 57 of file CircularQueue.hpp.


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