Disk ARchive 2.4.2
Public Types | Public Member Functions | Protected Member Functions
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.

List of all members.

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

Protected Member Functions

void inherited_dump (generic_file &f, bool small) const

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 398 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines