NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
This structure defines the overall expression target, if it is composed out of a temporary vector like {a,b}. More...
#include <muParserState.hpp>
Public Member Functions | |
void | create (StringView sTargets, const varmap_type &usedVars) |
Create a expression target made up from multiple variables. More... | |
void | assign (const valbuf_type &buffer, int nResults) |
Assign the calculated values to the target vector components. More... | |
void | clear () |
bool | isValid () const |
Public Attributes | |
std::vector< mu::value_type * > | m_targets |
This structure defines the overall expression target, if it is composed out of a temporary vector like {a,b}.
Definition at line 188 of file muParserState.hpp.
void mu::ExpressionTarget::assign | ( | const valbuf_type & | buffer, |
int | nResults | ||
) |
Assign the calculated values to the target vector components.
buffer | const valbuf_type& |
nResults | int |
Definition at line 66 of file muParserState.cpp.
References m_targets, and min.
Referenced by mu::ParserBase::Eval().
|
inline |
Definition at line 195 of file muParserState.hpp.
References m_targets.
Referenced by mu::LineStateStack::clear(), and mu::ParserBase::ClearVectorVars().
void mu::ExpressionTarget::create | ( | StringView | sTargets, |
const varmap_type & | usedVars | ||
) |
Create a expression target made up from multiple variables.
sTargets | StringView |
usedVars | const varmap_type& |
Definition at line 35 of file muParserState.cpp.
References getNextViewedArgument(), StringViewBase::length(), and m_targets.
Referenced by mu::ParserBase::compileVectors().
|
inline |
Definition at line 200 of file muParserState.hpp.
References m_targets.
Referenced by mu::ParserBase::Eval().
std::vector<mu::value_type*> mu::ExpressionTarget::m_targets |