33 typedef std::shared_ptr<Number>
Ptr;
66 virtual std::string
toString()
const;
73 const std::string valueString;
81 virtual std::string
getHelp()
const;
Creates Numbers from strings that convert to numbers.
virtual std::string getHelp() const
virtual StackOperator::Ptr create(const std::string &str)
StackItem representing a number.
Number & operator=(const Number &)=delete
virtual std::string toString() const
std::shared_ptr< Number > Ptr
static const std::string indef_type_string()
Number(const Number &)=delete
static Number::Ptr create(float theValue)
Create with theValue to represent.
Number & operator=(Number &&)=delete
Base class of all items that can be on the stack.
Factory creators of StackOperator::Ptrs.
std::shared_ptr< StackOperator > Ptr
Container of Calculator resources.