3 #include <IExprTreeNode.h>
18 template <
typename InputType,
typename OutputType>
33 std::string
const &expr
40 inline std::shared_ptr<IExprTreeNode<InputType, OutputType>>
makeShared(
41 std::string
const &expr
43 return std::shared_ptr<IExprTreeNode<InputType, OutputType>>(
Interface defining the functions that must be provided by any concrete implementation of a factory th...
Definition: IExprTreeNodeStringFactory.h:19
virtual IExprTreeNode< InputType, OutputType > * make(std::string const &expr)=0
Make an expression tree from given expression as string.
std::shared_ptr< IExprTreeNode< InputType, OutputType > > makeShared(std::string const &expr)
Like IExprTreeNodeStringFactory::make but returning a shared pointer instead of a raw pointer.
Definition: IExprTreeNodeStringFactory.h:40
Interface extending the Binary Tree node definition to become a Expression Tree node....
Definition: IExprTreeNode.h:19