SeExpr
Classes | Public Member Functions | Static Private Member Functions | List of all members
SeExpr2::ExprFuncSimple Class Referenceabstract

#include <ExprFuncX.h>

Inheritance diagram for SeExpr2::ExprFuncSimple:
SeExpr2::ExprFuncX BasicExpression::DummyFuncX SeExpr2::CachedVoronoiFunc SeExpr2::CCurveFuncX SeExpr2::CurveFuncX SeExpr2::GetVar SeExpr2::MapFuncX SeExpr2::PrintFuncX SeExpr2::RandFuncX SeExpr2::TriplanarFuncX

Classes

class  ArgHandle
 

Public Member Functions

 ExprFuncSimple (const bool threadSafe)
 
virtual int buildInterpreter (const ExprFuncNode *node, Interpreter *interpreter) const
 Build an interpreter to evaluate the expression. More...
 
virtual ExprType prep (ExprFuncNode *node, bool scalarWanted, ExprVarEnvBuilder &envBuilder) const =0
 
virtual ExprFuncNode::DataevalConstant (const ExprFuncNode *node, ArgHandle args) const =0
 
virtual void eval (ArgHandle args)=0
 
- Public Member Functions inherited from SeExpr2::ExprFuncX
 ExprFuncX (const bool threadSafe)
 
virtual ExprType type () const
 
virtual ~ExprFuncX ()
 
bool isThreadSafe () const
 
virtual size_t sizeInBytes () const
 Return memory usage of a funcX in bytes. More...
 
virtual void statistics (Statistics &) const
 Give this function a chance to populate its statistics. More...
 

Static Private Member Functions

static int EvalOp (int *opData, double *fp, char **c, std::vector< int > &callStack)
 

Additional Inherited Members

- Protected Attributes inherited from SeExpr2::ExprFuncX
bool _isScalar
 
ExprType _type
 

Detailed Description

Definition at line 72 of file ExprFuncX.h.

Constructor & Destructor Documentation

SeExpr2::ExprFuncSimple::ExprFuncSimple ( const bool  threadSafe)
inline

Definition at line 74 of file ExprFuncX.h.

Member Function Documentation

int SeExpr2::ExprFuncSimple::buildInterpreter ( const ExprFuncNode node,
Interpreter interpreter 
) const
virtual
virtual void SeExpr2::ExprFuncSimple::eval ( ArgHandle  args)
pure virtual
virtual ExprFuncNode::Data* SeExpr2::ExprFuncSimple::evalConstant ( const ExprFuncNode node,
ArgHandle  args 
) const
pure virtual
int SeExpr2::ExprFuncSimple::EvalOp ( int *  opData,
double *  fp,
char **  c,
std::vector< int > &  callStack 
)
staticprivate

Definition at line 24 of file ExprFuncX.cpp.

References eval().

Referenced by buildInterpreter().

virtual ExprType SeExpr2::ExprFuncSimple::prep ( ExprFuncNode node,
bool  scalarWanted,
ExprVarEnvBuilder env 
) const
pure virtual

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