![]() |
Disk ARchive 2.7.14
Full featured and portable backup and archiving tool
|
the testing class binds criterium to actions More...
#include <crit_action.hpp>
Inherits libdar::crit_action, and libdar::crit_action.
Private Member Functions | |
void | nullifyptr () noexcept |
void | free () noexcept |
void | copy_from (const testing &ref) |
void | move_from (testing &&ref) noexcept |
bool | check () const |
returns false if an field is nullptr | |
void | nullifyptr () noexcept |
void | free () noexcept |
void | copy_from (const testing &ref) |
void | move_from (testing &&ref) noexcept |
bool | check () const |
returns false if an field is nullptr | |
Private Attributes | |
criterium * | x_input |
crit_action * | x_go_true |
crit_action * | x_go_false |
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 142 of file dar64-2.7.14-win64/include/dar/crit_action.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().
Definition at line 151 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
|
inlinenoexcept |
Definition at line 152 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
|
inline |
Definition at line 155 of file dar64-2.7.14-win64/include/dar/crit_action.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 |
Definition at line 151 of file src/libdar/crit_action.hpp.
|
inlinenoexcept |
Definition at line 152 of file src/libdar/crit_action.hpp.
|
inline |
Definition at line 155 of file src/libdar/crit_action.hpp.
|
inlineoverridevirtual |
clone construction method
Implements libdar::crit_action.
Definition at line 167 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
References testing().
|
inlineoverridevirtual |
clone construction method
Implements libdar::crit_action.
Definition at line 167 of file src/libdar/crit_action.hpp.
References testing().
|
inlineoverridevirtual |
the inherited pure virtual method from class crit_action that must be implemented
Implements libdar::crit_action.
Definition at line 159 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
References libdar::criterium::evaluate(), and libdar::crit_action::get_action().
|
inlineoverridevirtual |
the inherited pure virtual method from class crit_action that must be implemented
Implements libdar::crit_action.
Definition at line 159 of file src/libdar/crit_action.hpp.
References libdar::criterium::evaluate(), and libdar::crit_action::get_action().
|
inlineprivatenoexcept |
Definition at line 174 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
|
inlineprivatenoexcept |
Definition at line 174 of file src/libdar/crit_action.hpp.
Definition at line 153 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
Definition at line 153 of file src/libdar/crit_action.hpp.
Definition at line 154 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
Definition at line 154 of file src/libdar/crit_action.hpp.
|
private |
Definition at line 172 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
|
private |
Definition at line 171 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.
|
private |
Definition at line 170 of file dar64-2.7.14-win64/include/dar/crit_action.hpp.