Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
the generic criterium class, parent of all criterium More...
#include <criterium.hpp>
Public Member Functions | |
criterium (const criterium &ref)=default | |
criterium (criterium &&ref) noexcept=default | |
criterium & | operator= (const criterium &ref)=default |
criterium & | operator= (criterium &&ref) noexcept=default |
virtual bool | evaluate (const cat_nomme &first, const cat_nomme &second) const =0 |
criterum interface method More... | |
virtual criterium * | clone () const =0 |
clone construction method More... | |
the generic criterium class, parent of all criterium
this is a pure virtual class that is used in API call it is used to federate under a single type all the criterium classes defined below. It defines a common interface for all of them.
Definition at line 51 of file criterium.hpp.
|
pure virtual |
clone construction method
Implemented in libdar::crit_and, libdar::crit_not, libdar::crit_same_type, libdar::crit_in_place_EA_saved, libdar::crit_in_place_EA_bigger, libdar::crit_in_place_more_EA, libdar::crit_in_place_EA_more_recent_or_equal_to, libdar::crit_in_place_EA_more_recent, libdar::crit_in_place_EA_present, libdar::crit_same_inode_data, libdar::crit_in_place_has_delta_sig, libdar::crit_in_place_data_sparse, libdar::crit_in_place_data_dirty, libdar::crit_in_place_data_saved, libdar::crit_in_place_data_bigger, libdar::crit_in_place_data_more_recent_or_equal_to, libdar::crit_in_place_data_more_recent, libdar::crit_in_place_is_new_hardlinked_inode, libdar::crit_in_place_is_hardlinked_inode, libdar::crit_in_place_is_file, libdar::crit_in_place_is_dir, and libdar::crit_in_place_is_inode.
|
pure virtual |
criterum interface method
[in] | first | entry to compare with the following (this is the original or 'in place' entry) |
[in] | second | the other entry to compare with the previous one (this is the new entry to add) |
Implemented in libdar::crit_and, libdar::crit_not, libdar::crit_same_type, libdar::crit_in_place_EA_saved, libdar::crit_in_place_EA_bigger, libdar::crit_in_place_more_EA, libdar::crit_in_place_EA_more_recent_or_equal_to, libdar::crit_in_place_EA_more_recent, libdar::crit_in_place_EA_present, libdar::crit_same_inode_data, libdar::crit_in_place_has_delta_sig, libdar::crit_in_place_data_sparse, libdar::crit_in_place_data_dirty, libdar::crit_in_place_data_saved, libdar::crit_in_place_data_bigger, libdar::crit_in_place_data_more_recent_or_equal_to, libdar::crit_in_place_data_more_recent, libdar::crit_in_place_is_new_hardlinked_inode, libdar::crit_in_place_is_hardlinked_inode, libdar::crit_in_place_is_file, libdar::crit_in_place_is_dir, and libdar::crit_in_place_is_inode.
Referenced by libdar::crit_not::evaluate(), and libdar::testing::get_action().