| Disk ARchive 2.5.10 Full featured and portable backup and archiving tool

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Enumerations | Functions
criterium.hpp File Reference
API

contains classes that let the user define the policy for overwriting files More...

`#include "../my_config.h"`
`#include "on_pool.hpp"`
`#include "cat_nomme.hpp"`
`#include "cat_inode.hpp"`
`#include "cat_directory.hpp"`

Go to the source code of this file.

## Classes
class | libdar::crit_action
| the global action for overwriting More...
class | libdar::crit_constant_action
| the basic constant action More...
class | libdar::criterium
| the generic criterium class, parent of all criterium More...
class | libdar::testing
| the testing class binds criterium to actions More...
class | libdar::crit_chain
| the crit_chain class sequences crit_actions up to full definition of the action More...
class | libdar::crit_in_place_is_inode
| returns true if the first entry is an inode (whatever is the second) More...
class | libdar::crit_in_place_is_dir
| returns true if the first entry is a cat_directory (whatever is the second) More...
class | libdar::crit_in_place_is_file
| returns true if the first entry is a plain file (whatever is the second) More...
class | libdar::crit_in_place_is_hardlinked_inode
| returns true if the first entry is a inode with several hard links (whatever is the second entry) More...
class | libdar::crit_in_place_is_new_hardlinked_inode
| returns true if the first entry is a inode with several hard links (whatever is the second entry) and also if this first entry is the first we meet that points to this hard linked inode More...
class | libdar::crit_in_place_data_more_recent
| returns true if the data of the first entry is more recent or of the same date of the one of the second entry More...
class | libdar::crit_in_place_data_more_recent_or_equal_to
| returns true if the data of the first entry is more recent or of the same date as the fixed date given in argument to the constructor More...
class | libdar::crit_in_place_data_bigger
| returns true if the data of the first entry is bigger or equal to the one of the second entry More...
class | libdar::crit_in_place_data_saved
| returns true if the data of the first entry is saved int the archive (not marked as unchanged since the archive of reference) More...
class | libdar::crit_in_place_data_dirty
| return true if the entry is a dirty file (or hard linked dirty file) More...
class | libdar::crit_in_place_data_sparse
| return true if the entry is a sparse file (or hard linked sparse file) More...
class | libdar::crit_in_place_EA_present
class | libdar::crit_in_place_EA_more_recent
| returns true if the EA of the first entry is more recent or equal to the one of the second entry More...
class | libdar::crit_in_place_EA_more_recent_or_equal_to
| returns true if the EA of the first entry is more recent or equal to the fixed date given in argument to the constructor More...
class | libdar::crit_in_place_more_EA
| returns true if the first entry has more or even EA (in number not in size) than the second entry More...
class | libdar::crit_in_place_EA_bigger
| returns true if the space used by EA of the first entry is greater or equal to the space used by the EA of the second entry (no EA means 0 byte for EA storage) More...
class | libdar::crit_in_place_EA_saved
| returns true if the in place entry has its EA saved (not just marked as saved) in the archve of reference More...
class | libdar::crit_same_type
| returns true if the two entries are of the same type (plain-file/char dev/block dev/named pipe/symlink/directory/unix socket) More...
class | libdar::crit_not
| realises the negation of the criterium given in argument to its constructor More...
class | libdar::crit_and
| realises the AND operator More...

## Namespaces
| libdar
| libdar namespace encapsulate all libdar symbols

## Enumerations
enum | libdar::over_action_data { data_preserve, data_overwrite, data_preserve_mark_already_saved, data_overwrite_mark_already_saved, data_remove, data_undefined, data_ask }
| the possible actions for overwriting data
enum | libdar::over_action_ea { EA_preserve, EA_overwrite, EA_clear, EA_preserve_mark_already_saved, EA_overwrite_mark_already_saved, EA_merge_preserve, EA_merge_overwrite, EA_undefined, EA_ask }
| the possible action for overwriting EA

## Functions
over_action_ea | libdar::crit_ask_user_for_EA_action (user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
| ask user for EA action More...
over_action_ea | libdar::crit_ask_user_for_FSA_action (user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
| ask user for FSA action More...
over_action_data | libdar::crit_ask_user_for_data_action (user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
| ask user for Data action More...
void | libdar::crit_show_entry_info (user_interaction &dialog, const std::string &full_name, const cat_entree *already_here, const cat_entree *dolly)
| show information suited for user comparison and decision for entry in conflict More...

## Detailed Description

contains classes that let the user define the policy for overwriting files

Definition in file criterium.hpp.