26 #ifndef ARCHIVE_VERSION_HPP
27 #define ARCHIVE_VERSION_HPP
29 #include "../my_config.h"
56 bool operator < (
const archive_version & ref)
const {
return value() < ref.value(); };
57 bool operator >= (
const archive_version & ref)
const {
return value() >= ref.value(); };
58 bool operator == (
const archive_version & ref)
const {
return value() == ref.value(); };
59 bool operator != (
const archive_version & ref)
const {
return value() != ref.value(); };
60 bool operator > (
const archive_version & ref)
const {
return value() > ref.value(); };
61 bool operator <= (
const archive_version & ref)
const {
return value() <= ref.value(); };
65 std::string display()
const;
71 U_I value()
const {
return (U_I)(version)*256 + fix; };
72 static unsigned char to_digit(
unsigned char val);
73 static unsigned char to_char(
unsigned char val);
are defined here basic integer types that tend to be portable
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
switch module to limitint (32 ou 64 bits integers) or infinint
this is the interface class from which all other data transfer classes inherit
class archive_version manages the version of the archive format
archive_version(U_16 x=0, unsigned char fix=0)
archive_version constructor
libdar namespace encapsulate all libdar symbols