26#ifndef MU_PARSER_STACK_H
27#define MU_PARSER_STACK_H
52 template <
typename TValueType>
58 typedef std::stack<TValueType, std::vector<TValueType> >
impl_type;
87 TValueType el =
top();
97 void push(
const TValueType& a_Val)
105 return (
unsigned)
m_Stack.size();
Error class of the parser.
Parser stack implementation.
std::stack< TValueType, std::vector< TValueType > > impl_type
Type of the underlying stack implementation.
TValueType & top()
Return reference to the top object in the stack.
void push(const TValueType &a_Val)
Push an object into the stack.
impl_type m_Stack
This is the actual stack.
TValueType pop()
Pop a value from the stack.
unsigned size() const
Return the number of stored elements.
bool empty() const
Returns true if stack is empty false otherwise.
#define _nrT(x)
Activate this option in order to compile with OpenMP support.
This file defines the error class used by the parser.
This file contains the parser token definition.
Namespace for mathematical applications.