27#ifndef ARCHIVE_NUM_HPP
28#define ARCHIVE_NUM_HPP
30#include "../my_config.h"
60 operator U_16()
const {
return val; };
61 U_16 operator = (U_16 arg) { set(arg);
return arg; };
62 archive_num & operator++() { set(val+1);
return *
this; };
68 void read_from_file(generic_file &f);
69 void write_to_file(generic_file &f)
const;
72 static constexpr U_I val_size =
sizeof(U_16);
73 static constexpr U_I MAX = 65534;
77 inline void set(U_16 arg)
class archive_num stores the position of an archive inside a dar_manager database
contains all the excetion class thrown by libdar
are defined here basic integer types that tend to be portable
libdar namespace encapsulate all libdar symbols