Disk ARchive
2.4.10
|
the catalogue class which gather all objects contained in a give archive More...
#include <catalogue.hpp>
Inherits libdar::mem_ui.
Inherited by libdar::escape_catalogue.
Public Member Functions | |
catalogue (user_interaction &dialog, const infinint &root_last_modif, const label &data_name) | |
catalogue (user_interaction &dialog, generic_file &f, const archive_version &reading_ver, compression default_algo, generic_file *data_loc, generic_file *ea_loc, bool lax, const label &lax_layer1_data_name, bool only_detruit=false) | |
catalogue (const catalogue &ref) | |
const catalogue & | operator= (const catalogue &ref) |
virtual void | reset_read () const |
virtual void | end_read () const |
virtual void | skip_read_to_parent_dir () const |
virtual bool | read (const entree *&ref) const |
virtual bool | read_if_present (std::string *name, const nomme *&ref) const |
void | remove_read_entry (std::string &name) |
const directory & | get_current_reading_dir () const |
void | tail_catalogue_to_current_read () |
void | reset_sub_read (const path &sub) |
bool | sub_read (const entree *&ref) |
virtual bool | read_second_time_dir () const |
void | reset_add () |
virtual void | pre_add (const entree *ref, compressor *compr) const |
catalogue extension routines for escape sequence | |
virtual void | pre_add_ea (const entree *ref, compressor *compr) const |
virtual void | pre_add_crc (const entree *ref, compressor *compr) const |
virtual void | pre_add_dirty (compressor *compr) const |
virtual void | pre_add_ea_crc (const entree *ref, compressor *compr) const |
virtual void | pre_add_waste_mark (compressor *compr) const |
virtual void | pre_add_failed_mark (compressor *compr) const |
virtual escape * | get_escape_layer () const |
void | add (entree *ref) |
void | re_add_in (const std::string &subdirname) |
void | re_add_in_replace (const directory &dir) |
void | add_in_current_read (nomme *ref) |
void | reset_compare () |
bool | compare (const entree *name, const entree *&extracted) |
bool | direct_read (const path &ref, const nomme *&ret) |
infinint | update_destroyed_with (catalogue &ref) |
void | update_absent_with (catalogue &ref, infinint aborting_next_etoile) |
void | dump (generic_file &f) const |
void | listing (bool isolated, const mask &selection, const mask &subtree, bool filter_unsaved, bool list_ea, std::string marge) const |
void | tar_listing (bool isolated, const mask &selection, const mask &subtree, bool filter_unsaved, bool list_ea, std::string beginning) const |
void | xml_listing (bool isolated, const mask &selection, const mask &subtree, bool filter_unsaved, bool list_ea, std::string beginning) const |
entree_stats | get_stats () const |
bool | is_empty () const |
whether the catalogue is empty or not | |
const directory * | get_contenu () const |
const label & | get_data_name () const |
infinint | get_root_dir_last_modif () const |
void | launch_recursive_has_changed_update () const |
recursive evaluation of directories that have changed (make the directory::get_recurisve_has_changed() method of entry in this catalogue meaningful) | |
infinint | get_root_mtime () const |
void | reset_all () |
reset all pointers to the root (a bit better than reset_add() + reset_read() + reset_compare() + reset_sub_read()) | |
Protected Member Functions | |
entree_stats & | access_stats () |
void | set_data_name (const label &val) |
void | copy_detruits_from (const catalogue &ref) |
const eod * | get_r_eod_address () const |
void | swap_stuff (catalogue &ref) |
![]() | |
mem_ui (user_interaction &dialog) | |
constructor | |
mem_ui (const mem_ui &ref) | |
the copy constructor | |
virtual | ~mem_ui () |
destructor | |
const mem_ui & | operator= (const mem_ui &ref) |
assignement operator | |
user_interaction & | get_ui () const |
get access to the user_interaction cloned object | |
the catalogue class which gather all objects contained in a give archive
Definition at line 972 of file catalogue.hpp.
|
protected |
invert the data tree memory management responsibility pointed to by "contenu" pointers between the current catalogue and the catalogue given in argument.