Disk ARchive
2.4.5
|
the hard link implementation, mirage is the named entry owned by a directory it points to a common "etoile class" More...
#include <catalogue.hpp>
Inherits libdar::nomme.
Public Types | |
enum | mirage_format { fmt_mirage, fmt_hard_link, fmt_file_etiquette } |
Public Member Functions | |
mirage (const std::string &name, etoile *ref) | |
mirage (user_interaction &dialog, generic_file &f, const archive_version &reading_ver, saved_status saved, entree_stats &stats, std::map< infinint, etoile * > &corres, compression default_algo, generic_file *data_loc, generic_file *ea_loc, mirage_format fmt, bool lax, escape *ptr) | |
mirage (user_interaction &dialog, generic_file &f, const archive_version &reading_ver, saved_status saved, entree_stats &stats, std::map< infinint, etoile * > &corres, compression default_algo, generic_file *data_loc, generic_file *ea_loc, bool lax, escape *ptr) | |
mirage (const mirage &ref) | |
const mirage & | operator= (const mirage &ref) |
unsigned char | signature () const |
entree * | clone () const |
inode * | get_inode () const |
infinint | get_etiquette () const |
infinint | get_etoile_ref_count () const |
etoile * | get_etoile () const |
bool | is_inode_counted () const |
bool | is_inode_wrote () const |
bool | is_inode_dumped () const |
void | set_inode_counted (bool val) const |
void | set_inode_wrote (bool val) const |
void | set_inode_dumped (bool val) const |
void | post_constructor (generic_file &f) |
called by entree::read and mirage::post_constructor, let inherited classes builds object's data after CRC has been read from file | |
bool | is_first_mirage () const |
whether we are the mirage that triggered this hard link creation | |
![]() | |
nomme (const std::string &name) | |
nomme (generic_file &f) | |
virtual bool | operator== (const nomme &ref) const |
virtual bool | operator< (const nomme &ref) const |
const std::string & | get_name () const |
void | change_name (const std::string &x) |
bool | same_as (const nomme &ref) const |
![]() | |
void | dump (generic_file &f, bool small) const |
write down the object information to a generic_file | |
void | specific_dump (generic_file &f, bool small) const |
this call gives an access to inherited_dump |
Protected Member Functions | |
void | inherited_dump (generic_file &f, bool small) const |
Additional Inherited Members | |
![]() | |
static entree * | read (user_interaction &dialog, generic_file &f, const archive_version &reading_ver, entree_stats &stats, std::map< infinint, etoile * > &corres, compression default_algo, generic_file *data_loc, generic_file *ea_loc, bool lax, bool only_detruit, escape *ptr) |
the hard link implementation, mirage is the named entry owned by a directory it points to a common "etoile class"
well, mirage is those fake apparition of water in a desert... I guess you get the picture now... :-)
Definition at line 400 of file catalogue.hpp.
|
virtual |
called by entree::read and mirage::post_constructor, let inherited classes builds object's data after CRC has been read from file
[in,out] | f | is the file where to write the data to |
Reimplemented from libdar::entree.