arduino-audio-tools
Loading...
Searching...
No Matches
Stack< T > Class Template Reference

LIFO Stack which is based on a List. More...

#include <CodecOpusOgg.h>

Public Member Functions

 Stack ()=default
 Stack ()=default
bool clear ()
bool clear ()
bool empty ()
bool empty ()
bool peek (T &data)
bool peek (T &data)
bool pop (T &data)
bool pop (T &data)
bool push (T &data)
bool push (T &data)
void setAllocator (Allocator &allocator)
void setAllocator (Allocator &allocator)
size_t size ()
size_t size ()

Protected Attributes

List< T > l

Detailed Description

template<class T>
class audio_tools::audio_tools::Stack< T >

LIFO Stack which is based on a List.

Author
Phil Schatzmann
Template Parameters
T

Constructor & Destructor Documentation

◆ Stack() [1/2]

template<class T>
Stack ( )
default

◆ Stack() [2/2]

template<class T>
Stack ( )
default

Member Function Documentation

◆ clear() [1/2]

template<class T>
bool clear ( )
inline

◆ clear() [2/2]

template<class T>
bool clear ( )
inline

◆ empty() [1/2]

template<class T>
bool empty ( )
inline

◆ empty() [2/2]

template<class T>
bool empty ( )
inline

◆ peek() [1/2]

template<class T>
bool peek ( T & data)
inline

◆ peek() [2/2]

template<class T>
bool peek ( T & data)
inline

◆ pop() [1/2]

template<class T>
bool pop ( T & data)
inline

◆ pop() [2/2]

template<class T>
bool pop ( T & data)
inline

◆ push() [1/2]

template<class T>
bool push ( T & data)
inline

◆ push() [2/2]

template<class T>
bool push ( T & data)
inline

◆ setAllocator() [1/2]

template<class T>
void setAllocator ( Allocator & allocator)
inline

◆ setAllocator() [2/2]

template<class T>
void setAllocator ( Allocator & allocator)
inline

◆ size() [1/2]

template<class T>
size_t size ( )
inline

◆ size() [2/2]

template<class T>
size_t size ( )
inline

Member Data Documentation

◆ l

template<class T>
List< T > l
protected

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