|
Disk ARchive
2.4.13
|
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 More... | |
| 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 More... | |
Public Member Functions inherited from libdar::crit_action | |
| virtual | ~crit_action () |
| the destructor | |
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
Definition at line 162 of file criterium.hpp.
| 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().
|
inlinevirtual |
clone construction method
Implements libdar::crit_action.
Definition at line 185 of file criterium.hpp.
References testing().
1.8.6