Disk ARchive
2.4.2
|
the testing class binds criterium to actions More...
#include <criterium.hpp>
Inherits libdar::crit_action.
Public Member Functions | |
testing (const criterium &input, const crit_action &go_true, const crit_action &go_false) | |
the constructor | |
testing (const testing &ref) | |
const testing & | operator= (const testing &ref) |
void | get_action (const nomme &first, const nomme &second, over_action_data &data, over_action_ea &ea) const |
the inherited pure virtual method from class action that must be gimplemented | |
crit_action * | clone () const |
clone construction method |
the testing class binds criterium to actions
a testing class is also an action that let the user build complex testing. It is thus possible to recursively use testing inside testing
libdar::testing::testing | ( | const criterium & | input, |
const crit_action & | go_true, | ||
const crit_action & | go_false | ||
) |
the constructor
[in] | input | is the criterium to base the evaluation on |
[in] | go_true | is the action to use for evaluation if the criterium states true |
[in] | go_false | is the action to use for evaluation if the criterium states false |
Referenced by clone().
crit_action* libdar::testing::clone | ( | ) | const [inline, virtual] |
clone construction method
Implements libdar::crit_action.
Definition at line 186 of file criterium.hpp.
References testing().