Disk ARchive  2.4.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | List of all members
libdar::crit_constant_action Class Reference

the basic constant action More...

#include <criterium.hpp>

Inherits libdar::crit_action.

Public Member Functions

 crit_constant_action (over_action_data data, over_action_ea ea)
 the constuctor More...
 
void get_action (const nomme &first, const nomme &second, over_action_data &data, over_action_ea &ea) const
 the inherited pure virtual methods from class action that must be implemented
 
crit_actionclone () const
 clone construction method More...
 
- Public Member Functions inherited from libdar::crit_action
virtual ~crit_action ()
 the destructor
 

Detailed Description

the basic constant action

the resulting action is not dependant on the files to compare it always returns the action provided through its constructor

Definition at line 104 of file criterium.hpp.

Constructor & Destructor Documentation

libdar::crit_constant_action::crit_constant_action ( over_action_data  data,
over_action_ea  ea 
)
inline

the constuctor

Parameters
[in]datathe action to perform on data
[in]eathe action to perform on EA

Definition at line 111 of file criterium.hpp.

References libdar::compile_time::ea().

Referenced by clone().

Member Function Documentation

crit_action* libdar::crit_constant_action::clone ( ) const
inlinevirtual

clone construction method

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

Implements libdar::crit_action.

Definition at line 116 of file criterium.hpp.

References crit_constant_action().


The documentation for this class was generated from the following file: