|
Calculator
Extensible stack-based calculator primarily in library form
|

Public Types | |
| typedef std::shared_ptr< StackIteratorPimpl > | Ptr |
| typedef std::vector< StackItem::Ptr >::iterator | Iterator |
Public Member Functions | |
| StackIteratorPimpl (Stack &theStack, const Iterator &theIter) | |
| void | addError (unsigned int position, const std::string &error) |
| StackItem::Ptr | dereference (StackItem::Ptr in) |
Public Attributes | |
| StackIterator::Hint | hint = StackIterator::Hint::DEREFERENCE_NEXT |
| Stack & | stack |
| Iterator | iter |
| unsigned int | position = 0 |
| Result | result |
| typedef std::vector<StackItem::Ptr>::iterator Calculator::StackIteratorPimpl::Iterator |
| typedef std::shared_ptr<StackIteratorPimpl> Calculator::StackIteratorPimpl::Ptr |
| void Calculator::StackIteratorPimpl::addError | ( | unsigned int | position, |
| const std::string & | error | ||
| ) |
| StackItem::Ptr Calculator::StackIteratorPimpl::dereference | ( | StackItem::Ptr | in | ) |
| StackIterator::Hint Calculator::StackIteratorPimpl::hint = StackIterator::Hint::DEREFERENCE_NEXT |