Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
the global action for overwriting More...
#include <crit_action.hpp>
Public Member Functions | |
crit_action (const crit_action &ref)=default | |
crit_action (crit_action &&ref) noexcept=default | |
crit_action & | operator= (const crit_action &ref)=default |
crit_action & | operator= (crit_action &&ref) noexcept=default |
virtual | ~crit_action ()=default |
the destructor | |
virtual void | get_action (const cat_nomme &first, const cat_nomme &second, over_action_data &data, over_action_ea &ea) const =0 |
the action to take based on the files to compare More... | |
virtual crit_action * | clone () const =0 |
clone construction method More... | |
the global action for overwriting
this class is a generic interface to handle what action to perform on both EA and Data based on two files to evaluate.
Definition at line 80 of file crit_action.hpp.
|
pure virtual |
clone construction method
Implemented in libdar::crit_chain, libdar::testing, and libdar::crit_constant_action.
|
pure virtual |
the action to take based on the files to compare
[in] | first | is the 'in place' inode |
[in] | second | is the 'to be added' inode |
[out] | data | is the action to perform with file's data |
[out] | ea | is the action to perform with file's EA |
Implemented in libdar::crit_chain, libdar::testing, and libdar::crit_constant_action.
Referenced by libdar::testing::get_action().