![]() |
Disk ARchive
2.5.3
Full featured and portable backup and archiving tool
|
the class for Door IPC (mainly for Solaris) More...
#include <cat_door.hpp>
Inherits libdar::cat_file.
Public Member Functions | |
cat_door (const infinint &xuid, const infinint &xgid, U_16 xperm, const datetime &last_access, const datetime &last_modif, const datetime &last_change, const std::string &src, const path &che, const infinint &fs_device) | |
cat_door (user_interaction &dialog, const pile_descriptor &pdesc, const archive_version &reading_ver, saved_status saved, compression default_algo, bool small) | |
bool | operator== (const cat_entree &ref) const |
returns true if the two object have the same content | |
unsigned char | signature () const |
inherited class signature | |
generic_file * | get_data (get_data_mode mode) const |
![]() | |
cat_file (const infinint &xuid, const infinint &xgid, U_16 xperm, const datetime &last_access, const datetime &last_modif, const datetime &last_change, const std::string &src, const path &che, const infinint &taille, const infinint &fs_device, bool x_furtive_read_mode) | |
cat_file (const cat_file &ref) | |
cat_file (user_interaction &dialog, const pile_descriptor &pdesc, const archive_version &reading_ver, saved_status saved, compression default_algo, bool small) | |
bool | has_changed_since (const cat_inode &ref, const infinint &hourshift, cat_inode::comparison_fields what_to_check) const |
infinint | get_size () const |
void | change_size (const infinint &s) const |
infinint | get_storage_size () const |
void | set_storage_size (const infinint &s) |
void | clean_data () |
void | set_offset (const infinint &r) |
const infinint & | get_offset () const |
unsigned char | signature () const |
inherited class signature | |
void | set_crc (const crc &c) |
bool | get_crc (const crc *&c) const |
bool | has_crc () const |
bool | get_crc_size (infinint &val) const |
void | drop_crc () |
void | set_sparse_file_detection_read (bool val) |
void | set_sparse_file_detection_write (bool val) |
bool | get_sparse_file_detection_read () const |
bool | get_sparse_file_detection_write () const |
cat_entree * | clone () const |
a way to copy the exact type of an object even if pointed to by a parent class pointer | |
compression | get_compression_algo_read () const |
compression | get_compression_algo_write () const |
void | change_compression_algo_write (compression x) |
bool | is_dirty () const |
void | set_dirty (bool value) |
![]() | |
cat_inode (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_inode (user_interaction &dialog, const pile_descriptor &pdesc, const archive_version &reading_ver, saved_status saved, bool small) | |
cat_inode (const cat_inode &ref) | |
const cat_inode & | operator= (const cat_inode &ref) |
const infinint & | get_uid () const |
const infinint & | get_gid () const |
U_16 | get_perm () const |
datetime | get_last_access () const |
datetime | get_last_modif () const |
void | set_last_access (const datetime &x_time) |
void | set_last_modif (const datetime &x_time) |
saved_status | get_saved_status () const |
void | set_saved_status (saved_status x) |
infinint | get_device () const |
bool | same_as (const cat_inode &ref) const |
bool | is_more_recent_than (const cat_inode &ref, const infinint &hourshift) const |
void | compare (const cat_inode &other, const mask &ea_mask, comparison_fields what_to_check, const infinint &hourshift, bool symlink_date, const fsa_scope &scope, bool isolated_mode) const |
void | ea_set_saved_status (ea_status status) |
ea_status | ea_get_saved_status () const |
void | ea_attach (ea_attributs *ref) |
const ea_attributs * | get_ea () const |
void | ea_detach () const |
infinint | ea_get_size () const |
void | ea_set_offset (const infinint &pos) |
bool | ea_get_offset (infinint &pos) const |
void | ea_set_crc (const crc &val) |
void | ea_get_crc (const crc *&ptr) const |
bool | ea_get_crc_size (infinint &val) const |
datetime | get_last_change () const |
void | set_last_change (const datetime &x_time) |
bool | has_last_change () const |
void | fsa_set_saved_status (fsa_status status) |
fsa_status | fsa_get_saved_status () const |
fsa_scope | fsa_get_families () const |
gives the set of FSA family recorded for that inode | |
void | fsa_attach (filesystem_specific_attribute_list *ref) |
const filesystem_specific_attribute_list * | get_fsa () const |
void | fsa_detach () const |
infinint | fsa_get_size () const |
void | fsa_set_offset (const infinint &pos) |
bool | fsa_get_offset (infinint &pos) const |
void | fsa_set_crc (const crc &val) |
void | fsa_get_crc (const crc *&ptr) const |
bool | fsa_get_crc_size (infinint &val) const |
![]() | |
cat_nomme (const std::string &name) | |
cat_nomme (const pile_descriptor &pdesc, bool small) | |
bool | operator== (const cat_entree &ref) const |
returns true if the two object have the same content | |
virtual bool | operator< (const cat_nomme &ref) const |
const std::string & | get_name () const |
void | change_name (const std::string &x) |
bool | same_as (const cat_nomme &ref) const |
![]() | |
cat_entree (const pile_descriptor &pdesc, bool small) | |
cat_entree () | |
setup an object when read from filesystem | |
virtual | ~cat_entree () throw (Ebug) |
destructor | |
bool | operator!= (const cat_entree &ref) const |
void | dump (const pile_descriptor &pdesc, bool small) const |
void | specific_dump (const pile_descriptor &pdesc, bool small) const |
virtual void | change_location (const pile_descriptor &pdesc) |
![]() | |
void * | operator new (size_t n_byte) |
void * | operator new (size_t n_byte, const std::nothrow_t ¬hrow_value) |
void * | operator new[] (size_t n_byte) |
void * | operator new[] (size_t n_byte, const std::nothrow_t ¬hrow_value) |
void * | operator new (size_t n_byte, memory_pool *p) |
void * | operator new[] (size_t n_byte, memory_pool *p) |
void | operator delete (void *ptr, memory_pool *p) |
this operator is called by the compiler if an exception is throw from the constructor of the allocated object | |
void | operator delete[] (void *ptr, memory_pool *p) |
this operator is called by the compiler if an exception is throw from the constructor of the allocated objects | |
void | operator delete (void *ptr) |
this is the usual delete operator, modified to handle allocated objects allocated on a memory pool or not | |
void | operator delete[] (void *ptr) |
this is the usual delete[] operator, modified to handle allocated objects allocated on a memory pool or not | |
Additional Inherited Members | |
![]() | |
enum | get_data_mode { keep_compressed, keep_hole, normal, plain } |
![]() | |
enum | comparison_fields { cf_all, cf_ignore_owner, cf_mtime, cf_inode_type } |
flag used to only consider certain fields when comparing/restoring inodes | |
enum | ea_status { ea_none, ea_partial, ea_fake, ea_full, ea_removed } |
enum | fsa_status { fsa_none, fsa_partial, fsa_full } |
![]() | |
static cat_entree * | read (user_interaction &dialog, memory_pool *pool, const pile_descriptor &f, const archive_version &reading_ver, entree_stats &stats, std::map< infinint, cat_etoile * > &corres, compression default_algo, bool lax, bool only_detruit, bool small) |
![]() | |
static const U_8 | FILE_DATA_WITH_HOLE = 0x01 |
static const U_8 | FILE_DATA_IS_DIRTY = 0x02 |
![]() | |
enum | { empty, from_path, from_cat } |
![]() | |
void | sub_compare (const cat_inode &other, bool isolated_mode) const |
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 | |
void | post_constructor (const pile_descriptor &pdesc) |
![]() | |
bool | get_small_read () const |
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 | |
![]() | |
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 | |
![]() | |
pile * | get_pile () const |
stack used to read object from (nullptr is returned for object created from filesystem) | |
compressor * | get_compressor_layer () const |
escape * | get_escape_layer () const |
generic_file * | get_read_cat_layer (bool small) const |
return the adhoc layer in the stack to read from the catalogue objects (except the EA, FSA or Data part) | |
![]() | |
memory_pool * | get_pool () const |
template<class T > | |
void | meta_new (T *&ptr, size_t num) |
template<class T > | |
void | meta_delete (T *ptr) |
![]() | |
enum libdar::cat_file:: { ... } | status |
the class for Door IPC (mainly for Solaris)
Definition at line 46 of file cat_door.hpp.