Disk ARchive 2.4.2
Public Member Functions | Static Public Member Functions | Protected Member Functions
libdar::entree Class Reference

the root class from all other inherite for any entry in the catalogue More...

#include <catalogue.hpp>

Inherited by libdar::eod, and libdar::nomme.

List of all members.

Public Member Functions

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
virtual 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
virtual unsigned char signature () const =0
virtual entreeclone () const =0

Static Public Member Functions

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)

Protected Member Functions

virtual void inherited_dump (generic_file &f, bool small) const

Detailed Description

the root class from all other inherite for any entry in the catalogue

Definition at line 96 of file catalogue.hpp.


Member Function Documentation

void libdar::entree::dump ( generic_file f,
bool  small 
) const

write down the object information to a generic_file

Parameters:
[in,out]fis the file where to write the data to
[in]smalldefines whether to do a small or normal dump
Note:
small dump are used beside escape sequence marks they can be done before the a file's data or EA has took its place within the archive while normal dump are used with catalogue dump at the end of the archive creation
virtual void libdar::entree::post_constructor ( generic_file f) [inline, 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 in libdar::mirage, and libdar::file.

Definition at line 136 of file catalogue.hpp.

void libdar::entree::specific_dump ( generic_file f,
bool  small 
) const [inline]

this call gives an access to inherited_dump

Parameters:
[in,out]fis the file where to write the data to
[in]smalldefines whether to do a small or normal dump
Note:
this method is to avoid having class mirage and class directory being a friend of class entree. Any other class may use it, sure, but neither class mirage nor class directory has not access to class entree's private data, only to what it needs.

Definition at line 130 of file catalogue.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines