27#ifndef SLICE_LAYOUT_HPP
28#define SLICE_LAYOUT_HPP
45 slice_layout() { clear(); };
46 slice_layout(
const slice_layout & ref) =
default;
47 slice_layout(slice_layout && ref)
noexcept =
default;
48 slice_layout & operator = (
const slice_layout & ref) =
default;
49 slice_layout & operator = (slice_layout && ref)
noexcept =
default;
50 ~slice_layout() =
default;
57 infinint first_slice_header;
58 infinint other_slice_header;
59 bool older_sar_than_v8;
61 void read(generic_file & f);
62 void write(generic_file & f)
const;
70 void which_slice(
const infinint & offset,
72 infinint & slice_offset)
const;
75 static const char OLDER_THAN_V8 =
'7';
76 static const char V8 =
'8';
class generic_file is defined here as well as class fichier
switch module to limitint (32 ou 64 bits integers) or infinint
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols