Calculator
Extensible stack-based calculator primarily in library form
Calculator::VariableManipulatorCreator Class Reference

Create VariableManipulator from a string. More...

#include <VariableManipulator.h>

Inheritance diagram for Calculator::VariableManipulatorCreator:
Collaboration diagram for Calculator::VariableManipulatorCreator:

Public Member Functions

virtual ~VariableManipulatorCreator ()
 
virtual std::string getHelp () const
 
virtual StackOperator::Ptr create (const std::string &str)
 
- Public Member Functions inherited from Calculator::StackOperatorCreator
virtual ~StackOperatorCreator ()
 

Additional Inherited Members

- Public Types inherited from Calculator::StackOperatorCreator
typedef std::shared_ptr< StackOperatorCreatorPtr
 

Detailed Description

Create VariableManipulator from a string.

Definition at line 71 of file VariableManipulator.h.

Constructor & Destructor Documentation

◆ ~VariableManipulatorCreator()

Calculator::VariableManipulatorCreator::~VariableManipulatorCreator ( )
virtual

Definition at line 87 of file VariableManipulator.cpp.

Member Function Documentation

◆ create()

StackOperator::Ptr Calculator::VariableManipulatorCreator::create ( const std::string &  str)
virtual
Returns
StackOperator::Ptr of the StackOperator created from str, or it will be empty to indicate str cannot be used to create an item of this type.

Implements Calculator::StackOperatorCreator.

Definition at line 96 of file VariableManipulator.cpp.

◆ getHelp()

std::string Calculator::VariableManipulatorCreator::getHelp ( ) const
virtual
Returns
Help text for StackOperator::Ptrs this creates

Implements Calculator::StackOperatorCreator.

Definition at line 90 of file VariableManipulator.cpp.


The documentation for this class was generated from the following files: