Disk ARchive
2.4.2
|
returns true if the data of the first entry is more recent or of the same date as the fixed date given in argument to the constructor More...
#include <criterium.hpp>
Inherits libdar::criterium.
Public Member Functions | |
crit_in_place_data_more_recent_or_equal_to (const infinint &date, const infinint &hourshift=0) | |
bool | evaluate (const nomme &first, const nomme &second) const |
criterum interface method | |
criterium * | clone () const |
clone construction method |
returns true if the data of the first entry is more recent or of the same date as the fixed date given in argument to the constructor
If the in_place entry is not an inode its date is considered equal to zero. Comparison is done on mtime
criterium* libdar::crit_in_place_data_more_recent_or_equal_to::clone | ( | ) | const [inline, virtual] |
clone construction method
Implements libdar::criterium.
Definition at line 316 of file criterium.hpp.
bool libdar::crit_in_place_data_more_recent_or_equal_to::evaluate | ( | const nomme & | first, |
const nomme & | second | ||
) | const [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) |
Implements libdar::criterium.