Helios++
Helios software for LiDAR simulations
|
Interface defining the functions that must be provided by any concrete implementation of a factory that builds expression trees from a given string. More...
#include <IExprTreeNodeStringFactory.h>
Public Member Functions | |
virtual IExprTreeNode< InputType, OutputType > * | make (std::string const &expr)=0 |
Make an expression tree from given expression as string. More... | |
std::shared_ptr< IExprTreeNode< InputType, OutputType > > | makeShared (std::string const &expr) |
Like IExprTreeNodeStringFactory::make but returning a shared pointer instead of a raw pointer. More... | |
Interface defining the functions that must be provided by any concrete implementation of a factory that builds expression trees from a given string.
InputType | The input type for built expression trees |
OutputTpye | The output type for built expression trees |
|
pure virtual |
Make an expression tree from given expression as string.
expr | The expression given as a string |
Implemented in UnivarExprTreeStringFactory< NumericType >.
|
inline |
Like IExprTreeNodeStringFactory::make but returning a shared pointer instead of a raw pointer.