17 #ifndef STACK_OPERATOR_H
30 typedef std::shared_ptr<StackItem>
Ptr;
Collection of Result information for an operation.
Stack of values to process from.
Base class of all items that can be on the stack.
virtual std::string toString() const =0
StackItem(StackItem &&)=delete
std::shared_ptr< StackItem > Ptr
StackItem & operator=(StackItem &&)=delete
StackItem(const StackItem &)=delete
virtual Result operator()(Stack &stack, StackOperator::Ptr ofThis)
Execute this item modifying stack.
StackItem & operator=(const StackItem &)=delete
Base class for all operators.
std::shared_ptr< StackOperator > Ptr
Container of Calculator resources.