Disk ARchive  2.4.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Types | Public Member Functions | Protected Member Functions | List of all members
libdar::mirage Class Reference

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 mirageoperator= (const mirage &ref)
unsigned char signature () const
entreeclone () const
inodeget_inode () const
infinint get_etiquette () const
infinint get_etoile_ref_count () const
etoileget_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
- Public Member Functions inherited from libdar::nomme
 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
- Public Member Functions inherited from libdar::entree
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 Public Member Functions inherited from libdar::entree
static entreeread (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)

Detailed Description

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.

Member Function Documentation

void libdar::mirage::post_constructor ( generic_file f)
virtual

called by entree::read and mirage::post_constructor, let inherited classes builds object's data after CRC has been read from file

Parameters
[in,out]fis the file where to write the data to
Note
only used when an non NULL escape pointer is given to entree::read (reading a small dump).

Reimplemented from libdar::entree.


The documentation for this class was generated from the following file: