Disk ARchive 2.8.0
Full featured and portable backup and archiving tool
Public Member Functions | Private Attributes | List of all members
libdar::archive_summary Class Reference

the archive_summary class provides information about a given archive More...

#include <archive_summary.hpp>

+ Collaboration diagram for libdar::archive_summary:

Public Member Functions

 archive_summary (const archive_summary &ref)=default
 
 archive_summary (archive_summary &&ref) noexcept=default
 
archive_summaryoperator= (const archive_summary &ref)=default
 
archive_summaryoperator= (archive_summary &&ref) noexcept=default
 
const infinintget_slice_size () const
 
const infinintget_first_slice_size () const
 
const infinintget_last_slice_size () const
 
const infinintget_ref_slice_size () const
 
const infinintget_ref_first_slice_size () const
 
const infinintget_slice_number () const
 
const infinintget_archive_size () const
 
const infinintget_catalog_size () const
 
const infinintget_storage_size () const
 
const infinintget_data_size () const
 
const entree_statsget_contents () const
 
const std::string & get_edition () const
 
const std::string & get_compression_algo () const
 
const std::string & get_user_comment () const
 
const std::string & get_cipher () const
 
const std::string & get_asym () const
 
bool get_signed () const
 
bool get_tape_marks () const
 
const std::string & get_in_place () const
 
const infinintget_compression_block_size () const
 
const std::string & get_salt () const
 
const infinintget_iteration_count () const
 
const std::string & get_kdf_hash () const
 
void set_slice_size (const infinint &arg)
 
void set_first_slice_size (const infinint &arg)
 
void set_last_slice_size (const infinint &arg)
 
void set_ref_slice_size (const infinint &arg)
 
void set_ref_first_slice_size (const infinint &arg)
 
void set_slice_number (const infinint &arg)
 
void set_archive_size (const infinint &arg)
 
void set_catalog_size (const infinint &arg)
 
void set_storage_size (const infinint &arg)
 
void set_data_size (const infinint &arg)
 
void set_contents (const entree_stats &arg)
 
void set_edition (const std::string &arg)
 
void set_compression_algo (const std::string &arg)
 
void set_user_comment (const std::string &arg)
 
void set_cipher (const std::string &arg)
 
void set_asym (const std::string &arg)
 
void set_signed (bool arg)
 
void set_tape_marks (bool arg)
 
void set_in_place (const std::string &arg)
 
void set_compression_block_size (const infinint &arg)
 
void set_salt (const std::string &arg)
 
void set_iteration_count (const infinint &arg)
 
void set_kdf_hash (const std::string &arg)
 
void clear ()
 

Private Attributes

infinint slice_size
 slice of the middle slice or zero if not applicable More...
 
infinint first_slice_size
 slice of the first slices or zero if not applicable More...
 
infinint last_slice_size
 slice of the last slice or zero if not applicable More...
 
infinint ref_slice_size
 slice of the slice of the archive of reference More...
 
infinint ref_first_slice_size
 slice of the first slice of the archive of reference More...
 
infinint slice_number
 number of slices composing the archive of zero if unknown More...
 
infinint archive_size
 total size of the archive More...
 
infinint catalog_size
 catalogue size if known, zero if not More...
 
infinint storage_size
 amount of byte used to store (compressed/encrypted) data More...
 
infinint data_size
 amount of data saved (once uncompressed/unciphered) More...
 
entree_stats contents
 nature of saved files More...
 
std::string edition
 archive format More...
 
std::string algo_zip
 compression algorithm More...
 
std::string user_comment
 user comment More...
 
std::string cipher
 encryption algorithm More...
 
std::string asym
 asymetrical encryption More...
 
bool is_signed
 whether the archive is signed More...
 
bool tape_marks
 whether the archive has tape marks (for sequential reading) More...
 
std::string in_place
 in_place path empty string if absent More...
 
infinint compr_block_size
 compression block size, or zero if stream compression is used More...
 
std::string salt
 the salt More...
 
infinint iteration_count
 iteration count for KDF routine More...
 
std::string kdf_hash
 kdf hash algo More...
 

Detailed Description

the archive_summary class provides information about a given archive

Definition at line 44 of file archive_summary.hpp.


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