Disk ARchive 2.4.2
|
realises the *AND* operator More...
#include <criterium.hpp>
Inherits libdar::criterium.
Inherited by libdar::crit_or.
Public Member Functions | |
crit_and (const crit_and &ref) | |
const crit_and & | operator= (const crit_and &ref) |
void | add_crit (const criterium &ref) |
void | clear () |
void | gobe (crit_and &to_be_voided) |
this call merges to the current call the arguments of another "crit_and", the given argument is cleared of its arguments. | |
virtual bool | evaluate (const nomme &first, const nomme &second) const |
criterum interface method | |
criterium * | clone () const |
clone construction method | |
Protected Attributes | |
std::vector< criterium * > | operand |
realises the *AND* operator
Definition at line 495 of file criterium.hpp.
criterium* libdar::crit_and::clone | ( | ) | const [inline, virtual] |
clone construction method
Implements libdar::criterium.
Definition at line 510 of file criterium.hpp.
virtual bool libdar::crit_and::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.