29 #ifndef __ETL_ISTACK__
30 #define __ETL_ISTACK__
31 #define __ETL_IN_ISTACK_H__
39 #ifndef ETL_THROW_EXCEPTIONS
89 void push(parameter_t item)
97 #ifdef ETL_THROW_EXCEPTIONS
123 #ifdef ETL_THROW_EXCEPTIONS
140 const_reference
top()
const
162 #undef __etl_in_istack_h__
Definition: stack_base.h:60
T * pointer
A pointer to the type used in the stack.
Definition: istack.h:64
T value_type
The type stored in the stack.
Definition: istack.h:61
Determine how to pass parameters.
Definition: parameter_type.h:40
reference top()
Definition: istack.h:78
bool full() const
Definition: stack_base.h:94
This is the base for all stacks that contain a particular type.
Definition: istack.h:57
stack_base::size_type size_type
The type used for determining the size of the stack.
Definition: istack.h:66
Definition: algorithm.h:43
istack(T *buffer, size_type max_size)
The constructor that is called from derived classes.
Definition: istack.h:150
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
const T & const_reference
A const reference to the type used in the stack.
Definition: istack.h:63
T & reference
A reference to the type used in the stack.
Definition: istack.h:62
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
static void error(const exception &e)
Definition: error_handler.cpp:50
reference push()
Definition: istack.h:116
const_reference top() const
Definition: istack.h:140
void push(parameter_t item)
Definition: istack.h:89
Definition: stack_base.h:75
const T * const_pointer
A const pointer to the type used in the stack.
Definition: istack.h:65