26 #ifndef CAT_DETRUIT_HPP
27 #define CAT_DETRUIT_HPP
29 #include "../my_config.h"
62 unsigned char get_signature()
const {
return signe; };
63 void set_signature(
unsigned char x) { signe = x; };
65 const datetime & get_date()
const {
return del_date; };
66 void set_date(
const datetime & ref) { del_date = ref; };
69 virtual unsigned char signature()
const override {
return 'x'; };
78 virtual void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const override;
class archive_version that rules which archive format to follow
base class of all objects contained in a catalogue and that can be named
class archive_version manages the version of the archive format
virtual cat_entree * clone() const override
inherited from cat_entree
virtual bool operator==(const cat_entree &ref) const override
returns true if the two object are the same
virtual std::string get_description() const override
inherited from cat_entree
virtual void inherited_dump(const pile_descriptor &pdesc, bool small) const override
inherited class may overload this method but shall first call the parent's inherited_dump() in the ov...
virtual unsigned char signature() const override
inherited from cat_entree
the root class from all other inherite for any entry in the catalogue
virtual unsigned char signature() const =0
inherited class signature
the base class for all entry that have a name
this file contains the definition of class datetime that stores unix times in a portable way
@ saved
inode is saved in the archive
libdar namespace encapsulate all libdar symbols