Calculator
Extensible stack-based calculator primarily in library form
Calculator::Factories Namespace Reference

Functions

StackOperatorFactory getNumbersFactory ()
 
StackOperatorFactory getFullFactory ()
 

Function Documentation

◆ getFullFactory()

StackOperatorFactory Calculator::Factories::getFullFactory ( )
Returns
a factory with all pre-defined capabilites
Examples
Calculator.cpp.

Definition at line 38 of file StackOperatorFactories.cpp.

◆ getNumbersFactory()

StackOperatorFactory Calculator::Factories::getNumbersFactory ( )
Returns
a factory for numbers and number math only.

Contains Number and BinaryMathOperator

Examples
Calculator.cpp.

Definition at line 31 of file StackOperatorFactories.cpp.