Calculator
Extensible stack-based calculator primarily in library form
Calculator::StackPimpl Class Reference
Collaboration diagram for Calculator::StackPimpl:

Public Types

typedef std::vector< StackItem::PtrStackType
 
typedef StackType::iterator Iter
 
typedef StackType::const_iterator CIter
 

Public Attributes

StackType stack
 Implementation of the Stack. More...
 
VariableSet variables
 Variables used in the Stack. More...
 

Detailed Description

Definition at line 181 of file Stack.cpp.

Member Typedef Documentation

◆ CIter

typedef StackType::const_iterator Calculator::StackPimpl::CIter

Definition at line 185 of file Stack.cpp.

◆ Iter

typedef StackType::iterator Calculator::StackPimpl::Iter

Definition at line 184 of file Stack.cpp.

◆ StackType

Definition at line 183 of file Stack.cpp.

Member Data Documentation

◆ stack

StackType Calculator::StackPimpl::stack

Implementation of the Stack.

Definition at line 188 of file Stack.cpp.

◆ variables

VariableSet Calculator::StackPimpl::variables

Variables used in the Stack.

This could be isolated into a derived class to provide both types; however, this would require a cast for the Variable suppor classes to get/set the variables... We will just add it to the only Stack class for now.

Definition at line 196 of file Stack.cpp.


The documentation for this class was generated from the following file: