49 cat_nomme(
const cat_nomme & ref) =
default;
50 cat_nomme(cat_nomme && ref)
noexcept =
default;
51 cat_nomme & operator = (
const cat_nomme & ref) =
default;
52 cat_nomme & operator = (cat_nomme && ref) =
default;
53 virtual ~cat_nomme() =
default;
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
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
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
smart pointer class to be used to automagically manage multiple time pointed to address
saved_status
data saved status for an entry
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols