Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
|
the crit_chain class sequences crit_actions up to full definition of the action More...
#include <crit_action.hpp>
Public Member Functions | |
crit_chain (const crit_chain &ref) | |
crit_chain (crit_chain &&ref) noexcept | |
crit_chain & | operator= (const crit_chain &ref) |
crit_chain & | operator= (crit_chain &&ref) noexcept |
void | add (const crit_action &act) |
void | clear () |
void | gobe (crit_chain &to_be_voided) |
virtual void | get_action (const cat_nomme &first, const cat_nomme &second, over_action_data &data, over_action_ea &ea) const override |
the action to take based on the files to compare More... | |
virtual crit_action * | clone () const override |
clone construction method More... | |
Public Member Functions inherited from libdar::crit_action | |
crit_action (const crit_action &ref)=default | |
crit_action (crit_action &&ref) noexcept=default | |
crit_action & | operator= (const crit_action &ref)=default |
crit_action & | operator= (crit_action &&ref) noexcept=default |
virtual | ~crit_action ()=default |
the destructor | |
virtual void | get_action (const cat_nomme &first, const cat_nomme &second, over_action_data &data, over_action_ea &ea) const =0 |
the action to take based on the files to compare More... | |
virtual crit_action * | clone () const =0 |
clone construction method More... | |
Private Member Functions | |
void | destroy () |
void | copy_from (const crit_chain &ref) |
Private Attributes | |
std::deque< crit_action * > | sequence |
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 187 of file crit_action.hpp.
|
inline |
Definition at line 190 of file crit_action.hpp.
|
inline |
Definition at line 191 of file crit_action.hpp.
|
inlinenoexcept |
Definition at line 192 of file crit_action.hpp.
|
inline |
Definition at line 195 of file crit_action.hpp.
|
inline |
Definition at line 198 of file crit_action.hpp.
|
inlineoverridevirtual |
clone construction method
Implements libdar::crit_action.
Definition at line 203 of file crit_action.hpp.
|
overridevirtual |
the action to take based on the files to compare
[in] | first | is the 'in place' inode |
[in] | second | is the 'to be added' inode |
[out] | data | is the action to perform with file's data |
[out] | ea | is the action to perform with file's EA |
Implements libdar::crit_action.
|
inline |
Definition at line 193 of file crit_action.hpp.
|
inlinenoexcept |
Definition at line 194 of file crit_action.hpp.
|
private |
Definition at line 206 of file crit_action.hpp.