1 #ifndef EXPR_TranslationFunction_H
2 #define EXPR_TranslationFunction_H
4 #include "EXPR_Function.h"
7 #include "core_numeric.h"
45 static inline CORE_UniquePointer<EXPR_TranslationFunction>
New() {
83 virtual void apply(
const std::vector<tString>& args,
85 std::array<tReal,3> x;
88 core_numeric::parse(arg,*iX);
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class described a function.
Definition: EXPR_Function.h:15
void setName(const tString &name)
set the name of the function
Definition: EXPR_Function.h:44
This class is a base class of the binary tree.
Definition: EXPR_Node.h:16
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_Object.h:70
This class describes.
Definition: EXPR_TranslationFunction.h:16
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_TranslationFunction.h:61
virtual ~EXPR_TranslationFunction()
delete the class
Definition: EXPR_TranslationFunction.h:36
static CORE_UniquePointer< EXPR_TranslationFunction > New()
return an unique instance of this class
Definition: EXPR_TranslationFunction.h:45
virtual void apply(const std::vector< tString > &args, EXPR_Node &node) const final
apply the function to the environment
Definition: EXPR_TranslationFunction.h:83
EXPR_TranslationFunction()
create the class
Definition: EXPR_TranslationFunction.h:29
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_TranslationFunction.h:73