Disk ARchive 2.3.10
|
the root class for all inode More...
#include <catalogue.hpp>
Inherits libdar::nomme.
Inherited by libdar::device, libdar::directory, libdar::file, libdar::ignored_dir, libdar::lien, libdar::prise, and libdar::tube.
Public Types | |
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 } |
Public Member Functions | |
inode (U_16 xuid, U_16 xgid, U_16 xperm, const infinint &last_access, const infinint &last_modif, const std::string &xname, const infinint &device) | |
inode (user_interaction &dialog, generic_file &f, const dar_version &reading_ver, saved_status saved, generic_file *ea_loc) | |
inode (const inode &ref) | |
void | dump (user_interaction &dialog, generic_file &f) const |
U_16 | get_uid () const |
U_16 | get_gid () const |
U_16 | get_perm () const |
infinint | get_last_access () const |
infinint | get_last_modif () const |
void | set_last_access (const infinint &x_time) |
void | set_last_modif (const infinint &x_time) |
saved_status | get_saved_status () const |
void | set_saved_status (saved_status x) |
infinint | get_device () const |
bool | same_as (const inode &ref) const |
bool | is_more_recent_than (const inode &ref, const infinint &hourshift) const |
virtual bool | has_changed_since (const inode &ref, const infinint &hourshift, comparison_fields what_to_check) const |
void | compare (user_interaction &dialog, const inode &other, const mask &ea_mask, comparison_fields what_to_check) 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 (user_interaction &dialog) const |
void | ea_detach () const |
void | ea_set_offset (const infinint &pos) |
void | ea_set_crc (const crc &val) |
void | ea_get_crc (crc &val) const |
infinint | get_last_change () const |
void | set_last_change (const infinint &x_time) |
void | change_ea_location (generic_file *loc) |
Protected Member Functions | |
virtual void | sub_compare (user_interaction &dialog, const inode &other) const |
the root class for all inode
Definition at line 157 of file catalogue.hpp.