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 >
 Countable ()=default
 
 Countable (const Countable &)=delete
 
 Countable (Countable &&)=delete
 
Countableoperator= (const Countable &)=delete
 
Countableoperator= (Countable &&)=delete
 
virtual ~Countable ()=default
 
const T & at (unsigned int i) const
 

Public Attributes

const unsigned size
 

Constructor & Destructor Documentation

◆ FILO()

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

Member Function Documentation

◆ count()

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

Implements Countable< T >.

◆ empty()

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

◆ flush()

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

◆ full()

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

◆ operator[]() [1/2]

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

Implements Countable< T >.

◆ operator[]() [2/2]

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

Implements Countable< T >.

◆ peek()

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

◆ pop()

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

◆ push()

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

Member Data Documentation

◆ size

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

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