26 #ifndef HEADER_FLAGS_HPP
27 #define HEADER_FLAGS_HPP
29 #include "../my_config.h"
67 bool is_set(U_I bitfield)
const;
84 static bool has_an_lsb_set(U_I bitfield);
void dump(generic_file &f) const
dump the header_flags to generic_file
void unset_bits(U_I bitfield)
remove all the bits set to in in the argument
bool is_all_cleared()
whether all bits are cleared
U_I bits
future implementation could rely on infinint for a arbitrary large bitfield
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
void clear()
clear all flags
bool is_set(U_I bitfield) const
return true if all bits of the argument set to 1, are set in this header_flags
void set_bits(U_I bitfield)
add all the bits set to 1 in the argument
this is the interface class from which all other data transfer classes inherit
void read(generic_file &f)
set the header_flags from a generic_file
libdar namespace encapsulate all libdar symbols