27 #ifndef ARCHIVE_SUMMARY_HPP
28 #define ARCHIVE_SUMMARY_HPP
30 #include "../my_config.h"
67 std::string get_edition()
const {
return edition; };
68 std::string get_compression_algo()
const {
return algo_zip; };
69 std::string get_user_comment()
const {
return user_comment; };
70 std::string get_cipher()
const {
return cipher; };
71 std::string get_asym()
const {
return asym; };
72 bool get_signed()
const {
return is_signed; };
73 bool get_tape_marks()
const {
return tape_marks; };
74 std::string get_in_place()
const {
return in_place; };
90 void set_edition(
const std::string & arg) {
edition = arg; };
91 void set_compression_algo(
const std::string & arg) {
algo_zip = arg; };
92 void set_user_comment(
const std::string & arg) {
user_comment = arg; };
93 void set_cipher(
const std::string & arg) {
cipher = arg; };
94 void set_asym(
const std::string & arg) {
asym = arg; };
95 void set_signed(
bool arg) {
is_signed = arg; };
96 void set_tape_marks(
bool arg) {
tape_marks = arg; };
97 void set_in_place(
const std::string & arg) {
in_place = arg; };
the archive_summary class provides information about a given archive
the arbitrary large positive integer class
datastructure holding the nature of file present in a given archive
bool is_signed
whether the archive is signed
std::string edition
archive format
infinint archive_size
total size of the archive
infinint slice_size
slice of the middle slice or zero if not applicable
infinint last_slice_size
slice of the last slice or zero if not applicable
std::string user_comment
user comment
std::string in_place
in_place path empty string if absent
infinint ref_first_slice_size
slice of the first slice of the archive of reference
entree_stats contents
nature of saved files
bool tape_marks
whether the archive has tape marks (for sequential reading)
infinint storage_size
amount of byte used to store (compressed/encrypted) data
infinint slice_number
number of slices composing the archive of zero if unknown
std::string cipher
encryption algorithm
infinint data_size
amount of data saved (once uncompressed/unciphered)
infinint ref_slice_size
slice of the slice of the archive of reference
std::string algo_zip
compression algorithm
infinint catalog_size
catalogue size if known, zero if not
infinint first_slice_size
slice of the first slices or zero if not applicable
std::string asym
asymetrical encryption
switch module to limitint (32 ou 64 bits integers) or infinint
libdar namespace encapsulate all libdar symbols
holds the statistics contents of a catalogue