26 #ifndef CAT_DEVICE_HPP 27 #define CAT_DEVICE_HPP 29 #include "../my_config.h" 49 const datetime & last_access,
50 const datetime & last_modif,
51 const datetime &last_change,
52 const std::string & name,
64 int get_major()
const {
if(get_saved_status() != s_saved)
throw SRC_BUG;
else return xmajor; };
65 int get_minor()
const {
if(get_saved_status() != s_saved)
throw SRC_BUG;
else return xminor; };
66 void set_major(
int x) { xmajor = x; };
67 void set_minor(
int x) { xminor = x; };
74 void sub_compare(
const cat_inode & other,
bool isolated_mode)
const;
75 void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const;
are defined here basic integer types that tend to be portable
This is a pure virtual class that is used by libdar when interaction with the user is required...
the special cat_device root class
the root class for all cat_inode
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 ov...
base object for all inode types, managed EA and FSA, dates, permissions, ownership, ...
the arbitrary large positive integer class
class archive_version manages the version of the archive format
the root class from all other inherite for any entry in the catalogue
bool operator==(const cat_entree &ref) const
returns true if the two object have the same content
libdar namespace encapsulate all libdar symbols