29 #include "../my_config.h"
47 label(
label && ref) noexcept { move_from(std::move(ref)); };
48 label & operator = (
const label & ref) { copy_from(ref);
return *
this; };
49 label & operator = (
label && ref) noexcept { move_from(std::move(ref));
return *
this; };
52 bool operator == (
const label & ref)
const;
53 bool operator != (
const label & ref)
const {
return ! ((*this) == ref); };
56 bool is_cleared()
const;
58 void generate_internal_filename();
63 void invert_first_byte() { val[0] = ~val[0]; };
68 U_I size()
const {
return LABEL_SIZE; };
69 char *data() {
return (
char *)&val; };
70 const char *data()
const {
return (
char *)&val; };
72 static U_I common_size() {
return LABEL_SIZE; };
75 static constexpr U_I LABEL_SIZE = 10;
79 void copy_from(
const label & ref);
80 void move_from(
label && ref) noexcept;
84 extern const label label_zero;
this is the interface class from which all other data transfer classes inherit
manage label data structure used in archive slice headers
class generic_file is defined here as well as class fichier
are defined here basic integer types that tend to be portable
libdar namespace encapsulate all libdar symbols