KSeExpr 4.0.4.0
KSeExpr::GlobalFP Struct Reference
Inheritance diagram for KSeExpr::GlobalFP:
KSeExpr::GlobalVal KSeExpr::ExprVarRef

Public Member Functions

 GlobalFP (const std::string &varName, int dim)
void eval (double *result) override
 returns this variable's value by setting result
void eval (const char **) override
bool isVec ()
Public Member Functions inherited from KSeExpr::GlobalVal
 GlobalVal (const std::string &varName, const KSeExpr::ExprType &et)
Public Member Functions inherited from KSeExpr::ExprVarRef
 ExprVarRef (const ExprType &type)
virtual ~ExprVarRef ()
virtual void setType (const ExprType &type)
 sets (current) type to given type
virtual ExprType type () const
 returns (current) type

Public Attributes

std::vector< double > val
Public Attributes inherited from KSeExpr::GlobalVal
std::set< DExpression * > users
std::string varName

Detailed Description

Definition at line 25 of file ExprMultiExpr.cpp.

Constructor & Destructor Documentation

◆ GlobalFP()

KSeExpr::GlobalFP::GlobalFP ( const std::string & varName,
int dim )
inline

Member Function Documentation

◆ eval() [1/2]

void KSeExpr::GlobalFP::eval ( const char ** )
inlineoverridevirtual

Implements KSeExpr::ExprVarRef.

Definition at line 38 of file ExprMultiExpr.cpp.

◆ eval() [2/2]

void KSeExpr::GlobalFP::eval ( double * result)
inlineoverridevirtual

returns this variable's value by setting result

Implements KSeExpr::ExprVarRef.

Definition at line 33 of file ExprMultiExpr.cpp.

References KSeExpr::ExprType::dim(), KSeExpr::ExprVarRef::type(), and val.

◆ isVec()

bool KSeExpr::GlobalFP::isVec ( )
inline

Definition at line 42 of file ExprMultiExpr.cpp.

References KSeExpr::ExprType::dim(), and KSeExpr::ExprVarRef::type().

Member Data Documentation

◆ val

std::vector<double> KSeExpr::GlobalFP::val

The documentation for this struct was generated from the following file: