![]() |
Disk ARchive
2.5.2
Full featured and portable backup and archiving tool
|
the cat_directory inode class More...
#include <cat_directory.hpp>
Inherits libdar::cat_inode.
Inherited by libdar::filesystem_restore::stack_dir_t.
Public Member Functions | |
| cat_directory (const infinint &xuid, const infinint &xgid, U_16 xperm, const datetime &last_access, const datetime &last_modif, const datetime &last_change, const std::string &xname, const infinint &device) | |
| cat_directory (const cat_directory &ref) | |
| const cat_directory & | operator= (const cat_directory &ref) |
| cat_directory (user_interaction &dialog, const pile_descriptor &pdesc, const archive_version &reading_ver, saved_status saved, entree_stats &stats, std::map< infinint, cat_etoile * > &corres, compression default_algo, bool lax, bool only_detruit, bool small) | |
| bool | operator== (const cat_entree &ref) const |
| attention this compares only the directories themselves, not the list of their children | |
| void | add_children (cat_nomme *r) |
| bool | has_children () const |
| void | reset_read_children () const |
| void | end_read () const |
| bool | read_children (const cat_nomme *&r) const |
| void | tail_to_read_children () |
| void | remove (const std::string &name) |
| cat_directory * | get_parent () const |
| bool | search_children (const std::string &name, const cat_nomme *&ref) const |
| bool | callback_for_children_of (user_interaction &dialog, const std::string &sdir, bool isolated=false) const |
| unsigned char | signature () const |
| inherited class signature | |
| bool | get_recursive_has_changed () const |
| detemine whether some data has changed since archive of reference in this cat_directory or subdirectories | |
| void | recursive_has_changed_update () const |
| ask recursive update for the recursive_has_changed field | |
| infinint | get_tree_size () const |
| get then number of "cat_nomme" entry contained in this cat_directory and subdirectories (recursive call) | |
| infinint | get_tree_ea_num () const |
| get the number of entry having some EA set in the cat_directory tree (recursive call) | |
| infinint | get_tree_mirage_num () const |
| get the number of entry that are hard linked inode (aka mirage in dar implementation) (recursive call) | |
| void | get_etiquettes_found_in_tree (std::map< infinint, infinint > &already_found) const |
| bool | is_empty () const |
| whether this cat_directory is empty or not | |
| void | remove_all_mirages_and_reduce_dirs () |
| recursively remove all mirage entries | |
| void | set_all_mirage_s_inode_dumped_field_to (bool val) |
| set the value of inode_dumped for all mirage (recusively) | |
| cat_entree * | clone () const |
| a way to copy the exact type of an object even if pointed to by a parent class pointer | |
| const infinint & | get_size () const |
| const infinint & | get_storage_size () const |
| void | recursively_set_to_unsaved_data_and_FSA () |
| void | change_location (const pile_descriptor &pdesc) |
| overwrite virtual method of cat_entree to propagate the action to all entries of the directory tree | |
Protected Member Functions | |
| void | inherited_dump (const pile_descriptor &pdesc, bool small) const |
| inherited class may overload this method but shall first call the parent's inherited_dump() in the overloaded method | |
the cat_directory inode class
Definition at line 50 of file cat_directory.hpp.
| void libdar::cat_directory::remove | ( | const std::string & | name | ) |
remove the given entry from the catalogue
1.7.6.1