NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
mu::VectorEvaluation Struct Reference

This structure contains the necessary data to resolve all preevaluated vectors. More...

#include <muParserState.hpp>

Collaboration diagram for mu::VectorEvaluation:

Public Types

enum  EvalType { EVALTYPE_NONE , EVALTYPE_MULTIARGFUNC , EVALTYPE_VECTOR , EVALTYPE_VECTOR_EXPANSION }
 

Public Member Functions

void create (const std::string &sTargetVect)
 Create a standard vector pre- evaluation. More...
 
void create (const std::string &sTargetVect, const std::string &sMaFunc)
 Create a multi-argument function pre- evaluation for vector arguments. More...
 
void create (const std::string &sTargetVect, const std::vector< int > &vCompDefs)
 Create a vector expansion pre- evaluation. More...
 
void clear ()
 

Public Attributes

EvalType m_type
 
std::string m_mafunc
 
std::string m_targetVect
 
std::vector< int > m_componentDefs
 

Detailed Description

This structure contains the necessary data to resolve all preevaluated vectors.

Definition at line 58 of file muParserState.hpp.

Member Enumeration Documentation

◆ EvalType

Enumerator
EVALTYPE_NONE 
EVALTYPE_MULTIARGFUNC 
EVALTYPE_VECTOR 
EVALTYPE_VECTOR_EXPANSION 

Definition at line 60 of file muParserState.hpp.

Member Function Documentation

◆ clear()

void mu::VectorEvaluation::clear ( )
inline

Definition at line 119 of file muParserState.hpp.

References EVALTYPE_NONE, m_componentDefs, m_mafunc, m_targetVect, and m_type.

Referenced by mu::State::clear().

◆ create() [1/3]

void mu::VectorEvaluation::create ( const std::string &  sTargetVect)
inline

Create a standard vector pre- evaluation.

Parameters
sTargetVectconst std::string&
Returns
void

Definition at line 81 of file muParserState.hpp.

References EVALTYPE_VECTOR, m_targetVect, and m_type.

Referenced by mu::ParserBase::compileVectorExpansion(), mu::ParserBase::compileVectors(), and mu::ParserBase::compileVectorsInMultiArgFunc().

◆ create() [2/3]

void mu::VectorEvaluation::create ( const std::string &  sTargetVect,
const std::string &  sMaFunc 
)
inline

Create a multi-argument function pre- evaluation for vector arguments.

Parameters
sTargetVectconst std::string&
sMaFuncconst std::string&
Returns
void

Definition at line 96 of file muParserState.hpp.

References EVALTYPE_MULTIARGFUNC, m_mafunc, m_targetVect, and m_type.

◆ create() [3/3]

void mu::VectorEvaluation::create ( const std::string &  sTargetVect,
const std::vector< int > &  vCompDefs 
)
inline

Create a vector expansion pre- evaluation.

Parameters
sTargetVectconst std::string&
vCompDefsconst std::vector<int>&
Returns
void

Definition at line 112 of file muParserState.hpp.

References EVALTYPE_VECTOR_EXPANSION, m_componentDefs, m_targetVect, and m_type.

Member Data Documentation

◆ m_componentDefs

std::vector<int> mu::VectorEvaluation::m_componentDefs

Definition at line 71 of file muParserState.hpp.

Referenced by clear(), create(), and mu::ParserBase::evaluateTemporaryVectors().

◆ m_mafunc

std::string mu::VectorEvaluation::m_mafunc

Definition at line 69 of file muParserState.hpp.

Referenced by clear(), create(), and mu::ParserBase::evaluateTemporaryVectors().

◆ m_targetVect

std::string mu::VectorEvaluation::m_targetVect

Definition at line 70 of file muParserState.hpp.

Referenced by clear(), create(), and mu::ParserBase::evaluateTemporaryVectors().

◆ m_type

EvalType mu::VectorEvaluation::m_type

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