29 #ifndef __ETL_IN_ISTACK_H__
30 #error This header is a private element of etl::stack & etl::istack
33 #ifndef __ETL_STACK_BASE__
34 #define __ETL_STACK_BASE__
Definition: stack_base.h:60
void clear()
Clears the stack to the empty state.
Definition: stack_base.h:135
bool full() const
Definition: stack_base.h:94
void pop()
Definition: stack_base.h:145
size_type size() const
Returns the current number of items top the stack.
Definition: stack_base.h:102
stack_base(size_type max_size)
The constructor that is called from derived classes.
Definition: stack_base.h:159
exception(value_type reason)
Constructor.
Definition: exception.h:51
bool empty() const
Definition: stack_base.h:85
const size_type MAX_SIZE
The maximum number of items in the stack.
Definition: stack_base.h:167
Definition: algorithm.h:43
size_type top_index
The index of the top of the stack.
Definition: stack_base.h:165
size_type current_size
The number of items in the stack.
Definition: stack_base.h:166
Definition: exception.h:42
size_type max_size() const
Returns the maximum number of items that can be stacked.
Definition: stack_base.h:118
size_t size_type
The type used for determining the size of stack.
Definition: stack_base.h:79
Definition: stack_base.h:46
value_type what() const
Definition: exception.h:60
size_type capacity() const
Returns the maximum number of items that can be stacked.
Definition: stack_base.h:110
Definition: stack_base.h:75
size_t available() const
Definition: stack_base.h:127