FILO< T, rawSize > Class Template Reference

#include <FILO.h>

Inheritance diagram for FILO< T, rawSize >:
Collaboration diagram for FILO< T, rawSize >:

Public Member Functions

 FILO ()
 
pop ()
 
bool push (T element)
 
peek () const
 
void flush ()
 
bool empty () const
 
bool full () const
 
unsigned int count () const override
 
const T & operator[] (unsigned int index) const override
 
T & operator[] (unsigned int index) override
 
- Public Member Functions inherited from Countable< T >
virtual ~Countable ()
 
const T & at (unsigned int i) const
 

Public Attributes

const int size
 

Constructor & Destructor Documentation

◆ FILO()

template<typename T , int rawSize>
FILO< T, rawSize >::FILO

Member Function Documentation

◆ count()

template<typename T , int rawSize>
unsigned int FILO< T, rawSize >::count ( ) const
inlineoverridevirtual

Implements Countable< T >.

◆ empty()

template<typename T , int rawSize>
bool FILO< T, rawSize >::empty ( ) const
inline

◆ flush()

template<typename T , int rawSize>
void FILO< T, rawSize >::flush

◆ full()

template<typename T , int rawSize>
bool FILO< T, rawSize >::full ( ) const
inline

◆ operator[]() [1/2]

template<typename T , int rawSize>
const T& FILO< T, rawSize >::operator[] ( unsigned int  index) const
inlineoverridevirtual

Implements Countable< T >.

◆ operator[]() [2/2]

template<typename T , int rawSize>
T& FILO< T, rawSize >::operator[] ( unsigned int  index)
inlineoverridevirtual

Implements Countable< T >.

◆ peek()

template<typename T , int rawSize>
T FILO< T, rawSize >::peek

◆ pop()

template<typename T , int rawSize>
T FILO< T, rawSize >::pop

◆ push()

template<typename T , int rawSize>
bool FILO< T, rawSize >::push ( element)

Member Data Documentation

◆ size

template<typename T , int rawSize>
const int FILO< T, rawSize >::size

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