56 cat_mirage(
const std::shared_ptr<user_interaction> & dialog,
57 const smart_pointer<pile_descriptor> & pdesc,
58 const archive_version & reading_ver,
61 std::map <infinint, cat_etoile *> & corres,
62 compression default_algo,
66 cat_mirage(
const std::shared_ptr<user_interaction> & dialog,
67 const smart_pointer<pile_descriptor> & pdesc,
68 const archive_version & reading_ver,
71 std::map <infinint, cat_etoile *> & corres,
72 compression default_algo,
75 cat_mirage(
const cat_mirage & ref) : cat_nomme (ref) { dup_on(ref.star_ref); };
76 cat_mirage(cat_mirage && ref)
noexcept: cat_nomme(std::move(ref)) {
try { dup_on(ref.star_ref); }
catch(...) {}; };
77 cat_mirage & operator = (
const cat_mirage & ref);
78 cat_mirage & operator = (cat_mirage && ref);
79 ~cat_mirage() { star_ref->drop_ref(
this); };
83 virtual unsigned char signature()
const override {
return 'm'; };
84 virtual std::string
get_description()
const override {
return "hard linked inode"; };
88 cat_inode *get_inode()
const {
if(star_ref ==
nullptr)
throw SRC_BUG;
return star_ref->get_inode(); };
89 infinint get_etiquette()
const {
return star_ref->get_etiquette(); };
90 infinint get_etoile_ref_count()
const {
return star_ref->get_ref_count(); };
91 cat_etoile *get_etoile()
const {
return star_ref; };
93 bool is_inode_counted()
const {
return star_ref->is_counted(); };
94 bool is_inode_wrote()
const {
return star_ref->is_wrote(); };
95 bool is_inode_dumped()
const {
return star_ref->is_dumped(); };
96 void set_inode_counted(
bool val)
const { star_ref->set_counted(val); };
97 void set_inode_wrote(
bool val)
const { star_ref->set_wrote(val); };
98 void set_inode_dumped(
bool val)
const { star_ref->set_dumped(val); };
120 virtual void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const override;
125 void init(
const std::shared_ptr<user_interaction> & dialog,
130 std::map <infinint, cat_etoile *> & corres,
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...