Disk ARchive  2.4.2
Public Member Functions | Protected Attributes
libdar::crit_not Class Reference

realises the negation of the criterium given in argument to its constructor More...

#include <criterium.hpp>

Inherits libdar::criterium.

Inherited by libdar::crit_invert.

List of all members.

Public Member Functions

 crit_not (const criterium &crit)
 crit_not (const crit_not &ref)
const crit_notoperator= (const crit_not &ref)
bool evaluate (const nomme &first, const nomme &second) const
 criterum interface method
criteriumclone () const
 clone construction method

Protected Attributes

const criteriumx_crit

Detailed Description

realises the negation of the criterium given in argument to its constructor


Member Function Documentation

criterium* libdar::crit_not::clone ( ) const [inline, virtual]

clone construction method

Returns:
a new object of the same type,
Note:
this method must be implemented in all the leaf classes of the class hierarchy rooted at the criterium class

Implements libdar::criterium.

Definition at line 483 of file criterium.hpp.

bool libdar::crit_not::evaluate ( const nomme first,
const nomme second 
) const [inline, virtual]

criterum interface method

Parameters:
[in]firstentry to compare with the following (this is the original or 'in place' entry)
[in]secondthe other entry to compare with the previous one (this is the new entry to add)
Returns:
the result of the criterium evaluation (true or false)

Implements libdar::criterium.

Definition at line 482 of file criterium.hpp.

References libdar::criterium::evaluate().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines