| Disk ARchive 2.6.12 Full featured and portable backup and archiving tool

Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
libdar::archive_num Class Reference
API

class archive_num stores the position of an archive inside a dar_manager database More...

`#include <archive_num.hpp>`

## Public Member Functions
| archive_num (U_16 arg=0)
| archive_num (const archive_num &ref)=default
| archive_num (archive_num &&ref) noexcept=default
archive_num & | operator= (const archive_num &ref)=default
archive_num & | operator= (archive_num &&ref)=default
| operator U_16 () const
| this operator makes an object of that class convertible to an 16 bits integer More...
U_16 | operator= (U_16 arg)
archive_num & | operator++ ()
void | read_from_file (generic_file &f)
void | write_to_file (generic_file &f) const

## Private Member Functions
void | set (U_16 arg)

## Private Attributes
U_16 | val

## Static Private Attributes
static constexpr U_I | val_size = sizeof(U_16)
static constexpr U_I | MAX = 65534

## Detailed Description

class archive_num stores the position of an archive inside a dar_manager database

Definition at line 46 of file archive_num.hpp.

## Member Function Documentation

## ◆ operator U_16()

libdar::archive_num::operator U_16 | ( |  | ) | const
| inline

this operator makes an object of that class convertible to an 16 bits integer

Note
  this is the only call you should need, just use an archive_num implictely of explicitely as an integer

Definition at line 60 of file archive_num.hpp.

The documentation for this class was generated from the following file:

- archive_num.hpp