arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Stack< T > Class Template Reference

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

#include <Stack.h>

Public Member Functions

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

Protected Attributes

List< Tl
 

Detailed Description

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

LIFO Stack which is based on a List.

Author
Phil Schatzmann
Template Parameters
T

Constructor & Destructor Documentation

◆ Stack()

template<class T >
Stack ( )
default

Member Function Documentation

◆ clear()

template<class T >
bool clear ( )
inline

◆ empty()

template<class T >
bool empty ( )
inline

◆ peek()

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

◆ pop()

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

◆ push()

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

◆ setAllocator()

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

◆ size()

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 file: