14 #ifndef STACK_OPERATOR_H
15 #define STACK_OPERATOR_H
31 typedef std::shared_ptr<StackOperator>
Ptr;
59 typedef std::shared_ptr<StackOperatorCreator>
Ptr;
Collection of Result information for an operation.
Stack of values to process from.
Factory creators of StackOperator::Ptrs.
virtual std::string getHelp() const =0
std::shared_ptr< StackOperatorCreator > Ptr
virtual ~StackOperatorCreator()
virtual StackOperator::Ptr create(const std::string &str)=0
Base class for all operators.
StackOperator(const StackOperator &)=delete
StackOperator & operator=(const StackOperator &)=delete
std::shared_ptr< StackOperator > Ptr
StackOperator & operator=(StackOperator &&)=delete
virtual Result operator()(Stack &stack, StackOperator::Ptr ofThis)=0
Execute this operator on stack.
StackOperator(StackOperator &&)=delete
Container of Calculator resources.