Struct for making work with the EvaluationContainer easier for the user and also to ensure backward compatibility.
More...
#include <evaluationContainer.h>
|
| modelFunction () |
|
| ~modelFunction () |
|
| modelFunction (const mc::FFVar var) |
| Constructor with FFVar value only. More...
|
|
| modelFunction (const mc::FFVar var, const std::string &str) |
| Constructor with FFVar value and a name. More...
|
|
void | clear () |
| Constructor with FFVar value only. More...
|
|
void | push_back (const mc::FFVar var) |
| Function for inserting a FFVar value at the end of the value vector. More...
|
|
void | push_back (const mc::FFVar var, const std::string &str) |
| Function for inserting a FFVar and a name at the end of the vectors. More...
|
|
void | push_back (const std::vector< mc::FFVar > &vars) |
| Function for inserting a vector of FFVar at the end of the value vector. More...
|
|
void | push_back (const std::vector< mc::FFVar > &vars, const std::string &baseName) |
| Function for inserting a vector of FFVar at the end of the value vector with names. More...
|
|
size_t | size () const |
| Function returning the size of the value vector. Note that value and name vectors have the same size at any time. More...
|
|
void | resize (const size_t size) |
| Function for resizing of the underlying vectors. More...
|
|
void | set_value (const mc::FFVar var, const unsigned i) |
| Function for seting FFVar value at a given index. More...
|
|
void | set_name (const std::string str, const unsigned i) |
| Function for seting name value at a given index. More...
|
|
modelFunction & | operator= (const mc::FFVar var) |
| = operator for backward compatibility More...
|
|
mc::FFVar & | operator[] (const unsigned int i) |
| [] operator for easier access to value vector More...
|
|
mc::FFVar & | at (const unsigned int i) |
| Function for accessing elements. More...
|
|
|
std::vector< std::string > | name |
|
std::vector< mc::FFVar > | value |
|
Struct for making work with the EvaluationContainer easier for the user and also to ensure backward compatibility.
◆ modelFunction() [1/3]
maingo::modelFunction::modelFunction |
( |
| ) |
|
|
inline |
◆ ~modelFunction()
maingo::modelFunction::~modelFunction |
( |
| ) |
|
|
inline |
◆ modelFunction() [2/3]
maingo::modelFunction::modelFunction |
( |
const mc::FFVar |
var | ) |
|
|
inline |
Constructor with FFVar value only.
◆ modelFunction() [3/3]
maingo::modelFunction::modelFunction |
( |
const mc::FFVar |
var, |
|
|
const std::string & |
str |
|
) |
| |
|
inline |
Constructor with FFVar value and a name.
◆ at()
mc::FFVar& maingo::modelFunction::at |
( |
const unsigned int |
i | ) |
|
|
inline |
Function for accessing elements.
◆ clear()
void maingo::modelFunction::clear |
( |
| ) |
|
|
inline |
Constructor with FFVar value only.
◆ operator=()
modelFunction& maingo::modelFunction::operator= |
( |
const mc::FFVar |
var | ) |
|
|
inline |
= operator for backward compatibility
◆ operator[]()
mc::FFVar& maingo::modelFunction::operator[] |
( |
const unsigned int |
i | ) |
|
|
inline |
[] operator for easier access to value vector
◆ push_back() [1/4]
void maingo::modelFunction::push_back |
( |
const mc::FFVar |
var | ) |
|
|
inline |
Function for inserting a FFVar value at the end of the value vector.
◆ push_back() [2/4]
void maingo::modelFunction::push_back |
( |
const mc::FFVar |
var, |
|
|
const std::string & |
str |
|
) |
| |
|
inline |
Function for inserting a FFVar and a name at the end of the vectors.
◆ push_back() [3/4]
void maingo::modelFunction::push_back |
( |
const std::vector< mc::FFVar > & |
vars | ) |
|
|
inline |
Function for inserting a vector of FFVar at the end of the value vector.
◆ push_back() [4/4]
void maingo::modelFunction::push_back |
( |
const std::vector< mc::FFVar > & |
vars, |
|
|
const std::string & |
baseName |
|
) |
| |
|
inline |
Function for inserting a vector of FFVar at the end of the value vector with names.
◆ resize()
void maingo::modelFunction::resize |
( |
const size_t |
size | ) |
|
|
inline |
Function for resizing of the underlying vectors.
◆ set_name()
void maingo::modelFunction::set_name |
( |
const std::string |
str, |
|
|
const unsigned |
i |
|
) |
| |
|
inline |
Function for seting name value at a given index.
◆ set_value()
void maingo::modelFunction::set_value |
( |
const mc::FFVar |
var, |
|
|
const unsigned |
i |
|
) |
| |
|
inline |
Function for seting FFVar value at a given index.
◆ size()
size_t maingo::modelFunction::size |
( |
| ) |
const |
|
inline |
Function returning the size of the value vector. Note that value and name vectors have the same size at any time.
◆ name
std::vector<std::string> maingo::modelFunction::name |
vector holding possible function names
◆ value
std::vector<mc::FFVar> maingo::modelFunction::value |
vector holding the actual propagated FFVar values
The documentation for this struct was generated from the following file: