29 #include "../my_config.h"
56 virtual bool operator < (
const cat_nomme & ref)
const {
return xname < ref.xname; };
57 const std::string & get_name()
const {
return xname; };
58 void change_name(
const std::string & x) { xname = x; };
69 virtual void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const override;
base class for all object contained in a catalogue
the root class from all other inherite for any entry in the catalogue
bool same_as(const cat_entree &ref) const
return true of the two objects would generate the same entry on filsystem
cat_entree(saved_status val)
setup an object when read from filesystem
the base class for all entry that have a name
virtual bool operator==(const cat_entree &ref) const override
returns true if the two object are the same
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...
bool same_as(const cat_nomme &ref) const
saved_status
data saved status for an entry
libdar namespace encapsulate all libdar symbols