17 #ifndef STACK_OPERATOR_H
24 class StackOperatorFactory;
83 unsigned int operationCount;
98 void doHelp(std::ostream& output)
const;
105 void process(std::istream& input, std::ostream& output);
Drivable class to run the calculator with a variable factory per process call to support changing com...
std::string toString() const
Executive(Executive &&)=delete
Executive & operator=(Executive &&)=delete
Executive & operator=(const Executive &)=delete
unsigned int getOperationCount() const
Executive(Stack &stack)
Create with the stack to process.
void doHelp(const StackOperatorFactory &factory, std::ostream &output) const
Generate help info for this executive to output.
Executive(const Executive &)=delete
void process(StackOperatorFactory &factory, std::istream &input, std::ostream &output)
Process commands from input and pushing generated info to output.
Drivable class to run the calculator with a single set of commands.
FixedOperatorExecutive & operator=(Executive &&)=delete
FixedOperatorExecutive(StackOperatorFactory &theFactory, Stack &theStack)
void process(std::istream &input, std::ostream &output)
Process commands from input and pushing generated info to output.
FixedOperatorExecutive(Executive &&)=delete
FixedOperatorExecutive(const Executive &)=delete
void doHelp(std::ostream &output) const
FixedOperatorExecutive & operator=(const Executive &)=delete
Collection of Result information for an operation.
Stack of values to process from.
Factory to create StackOperators and help from StackOperatorCreators.
std::shared_ptr< StackOperator > Ptr
Container of Calculator resources.