A Method represent how to make the boolean assessment with criteria data (a vector of double)
More...
#include <Method.h>
|
| virtual bool | individualTest (double tested)=0 |
| | return true if the double passed the test
|
| |
| | Method (mml::Method *m) |
| | constructor
|
| |
| std::string | scopeTosString () |
| | get a String of the scope
|
| |
| virtual bool | test (std::vector< double > &values) |
| | return true if the vector of fouble values passed the test (see scope)
|
| |
| virtual std::string | toString ()=0 |
| | get Method name
|
| |
| virtual | ~Method ()=default |
| | destructor
|
| |
|
| ScopeType | scope |
| | scope of the method Any: test is true if all indivitual test are true in the values vector Average: test is true if the indivudal test of values vector's average is true Sum: test is true if the indivudal test of the sum of all double of the values vector is true None: used for monitor wich are not applied to a structural component (ex: time)
|
| |
A Method represent how to make the boolean assessment with criteria data (a vector of double)
◆ ScopeType
the scope of the method
| Enumerator |
|---|
| Any | |
| Average | |
| Sum | |
| None | |
◆ Method()
| Method::Method |
( |
mml::Method * |
m | ) |
|
◆ ~Method()
| virtual Method::~Method |
( |
| ) |
|
|
virtualdefault |
◆ individualTest()
| virtual bool Method::individualTest |
( |
double |
tested | ) |
|
|
pure virtual |
◆ scopeTosString()
| std::string Method::scopeTosString |
( |
| ) |
|
◆ test()
| bool Method::test |
( |
std::vector< double > & |
values | ) |
|
|
virtual |
◆ toString()
| virtual std::string Method::toString |
( |
| ) |
|
|
pure virtual |
◆ scope
scope of the method Any: test is true if all indivitual test are true in the values vector Average: test is true if the indivudal test of values vector's average is true Sum: test is true if the indivudal test of the sum of all double of the values vector is true None: used for monitor wich are not applied to a structural component (ex: time)
Referenced by Method(), scopeTosString(), and test().
The documentation for this class was generated from the following files: