26 #ifndef CAT_ENTREE_HPP 27 #define CAT_ENTREE_HPP 29 #include "../my_config.h" 77 void clear() { num_x = num_d = num_f = num_c = num_b = num_p
78 = num_s = num_l = num_D = num_hard_linked_inodes
79 = num_hard_link_entries = saved = total = 0; };
105 std::map <infinint, cat_etoile *> & corres,
129 virtual bool operator == (
const cat_entree & ref)
const {
return true; };
130 bool operator != (
const cat_entree & ref)
const {
return ! (*
this == ref); };
136 void dump(
const pile_descriptor & pdesc,
bool small)
const;
142 void specific_dump(
const pile_descriptor & pdesc,
bool small)
const { inherited_dump(pdesc, small); };
152 virtual unsigned char signature()
const = 0;
169 virtual void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const;
173 pile *
get_pile()
const {
return pdesc.is_null() ?
nullptr : pdesc->stack; };
193 static const U_I ENTREE_CRC_SIZE;
virtual ~cat_entree()
destructor
holds the statistics contents of a catalogue
void specific_dump(const pile_descriptor &pdesc, bool small) const
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...
defines the interaction between libdar and the user.Three classes are defined
pile * get_pile() const
stack used to read object from (nullptr is returned for object created from filesystem) ...
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 ...
template class implementing memory efficient smart pointer
switch module to limitint (32 ou 64 bits integers) or infinint
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
escape * get_escape_layer() const
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
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)
compressor * get_compressor_layer() const
libdar namespace encapsulate all libdar symbols