Disk ARchive 2.4.2
Public Member Functions
libdar::crit_chain Class Reference

the crit_chain class sequences crit_actions up to full definition of the action More...

#include <criterium.hpp>

Inherits libdar::crit_action.

List of all members.

Public Member Functions

 crit_chain (const crit_chain &ref)
const crit_chainoperator= (const crit_chain &ref)
void add (const crit_action &act)
void clear ()
void gobe (crit_chain &to_be_voided)
void get_action (const nomme &first, const nomme &second, over_action_data &data, over_action_ea &ea) const
 the action to take based on the files to compare
crit_actionclone () const
 clone construction method

Detailed Description

the crit_chain class sequences crit_actions up to full definition of the action

several expressions must be added. The first is evaluated, then the second, up to the last or up to the step the data_action and ea_action are both fully defined (no data_undefined nor ea_undefined)

Definition at line 204 of file criterium.hpp.


Member Function Documentation

crit_action* libdar::crit_chain::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 action hierarchy class

Implements libdar::crit_action.

Definition at line 218 of file criterium.hpp.

void libdar::crit_chain::get_action ( const nomme first,
const nomme second,
over_action_data data,
over_action_ea ea 
) const [virtual]

the action to take based on the files to compare

Parameters:
[in]firstis the 'in place' inode
[in]secondis the 'to be added' inode
[out]datais the action to perform with file's data
[out]eais the action to perform with file's EA

Implements libdar::crit_action.


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