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();
111 return m_Stack.empty();
120 return m_Stack.top();
#define _T(x)
Activate this option in order to compile with OpenMP support.
void push(const TValueType &a_Val)
Push an object into the stack.
TValueType pop()
Pop a value from the stack.
Parser stack implementation.
TValueType & top()
Return reference to the top object in the stack.
Error class of the parser.
Namespace for mathematical applications.
bool empty() const
Returns true if stack is empty false otherwise.
This file contains the parser token definition.
unsigned size() const
Return the number of stored elements.
This file defines the error class used by the parser.