![]() |
Disk ARchive 2.7.18
Full featured and portable backup and archiving tool
|
manages the flag field used for now in the archive header More...
#include <header_flags.hpp>
Public Member Functions | |
| header_flags (generic_file &f) | |
| header_flags (const header_flags &ref)=default | |
| header_flags (header_flags &&ref) noexcept=default | |
| header_flags & | operator= (const header_flags &ref)=default |
| header_flags & | operator= (header_flags &&ref) noexcept=default |
| void | set_bits (U_I bitfield) |
| add all the bits set to 1 in the argument | |
| void | unset_bits (U_I bitfield) |
| remove all the bits set to in in the argument | |
| 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 | read (generic_file &f) |
| set the header_flags from a generic_file | |
| void | dump (generic_file &f) const |
| dump the header_flags to generic_file | |
| void | clear () |
| clear all flags | |
| bool | is_all_cleared () |
| whether all bits are cleared | |
Static Private Member Functions | |
| static bool | has_an_lsb_set (U_I bitfield) |
Private Attributes | |
| U_I | bits |
| future implementation could rely on infinint for a arbitrary large bitfield | |
manages the flag field used for now in the archive header
Definition at line 49 of file header_flags.hpp.