26 #ifndef CAT_ENTREE_HPP 27 #define CAT_ENTREE_HPP 29 #include "../my_config.h" 76 void clear() { num_x = num_d = num_f = num_c = num_b = num_p
77 = num_s = num_l = num_D = num_hard_linked_inodes
78 = num_hard_link_entries = saved = total = 0; };
101 const pile_descriptor & f,
104 std::map <infinint, cat_etoile *> & corres,
115 cat_entree(
const pile_descriptor & pdesc,
bool small);
128 virtual bool operator == (
const cat_entree & ref)
const {
return true; };
129 bool operator != (
const cat_entree & ref)
const {
return ! (*
this == ref); };
135 void dump(
const pile_descriptor & pdesc,
bool small)
const;
141 void specific_dump(
const pile_descriptor & pdesc,
bool small)
const { inherited_dump(pdesc, small); };
151 virtual unsigned char signature()
const = 0;
163 virtual void change_location(
const pile_descriptor & pdesc);
168 virtual void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const;
192 static const U_I ENTREE_CRC_SIZE;
194 pile_descriptor pdesc;
virtual ~cat_entree()
destructor
holds the statistics contents of a catalogue
class pile definition. Used to manage a stack of generic_file objects
This is a pure virtual class that is used by libdar when interaction with the user is required...
compressor * get_compressor_layer() const
pile * get_pile() const
stack used to read object from (nullptr is returned for object created from filesystem) ...
void specific_dump(const pile_descriptor &pdesc, bool small) const
defines the interaction between libdar and the user.Three classes are defined
class escape definition, used for sequential reading of archivesThe class escape is used to insert es...
optimization structure to quickly access some commonly used layers of a stack of generic_file ...
switch module to limitint (32 ou 64 bits integers) or infinint
escape * get_escape_layer() const
compression class for gzip and bzip2 algorithms
exception used to signal a bug. A bug is triggered when reaching some code that should never be reach...
compression
the different compression algorithm available
this is the interface class from which all other data transfer classes inherit
compression engine implementation
class archive_version that rules which archive format to follow
this is the base class of object that can be allocated on a memory pool
the arbitrary large positive integer class
class archive_version manages the version of the archive format
the root class from all other inherite for any entry in the catalogue
cat_entree()
setup an object when read from filesystem
virtual void post_constructor(const pile_descriptor &pdesc)
libdar namespace encapsulate all libdar symbols