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

Loading...
Searching...
No Matches
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
U_16 | operator= (U_16 arg)
archive_num & | operator++ ()
void | read_from_file (generic_file &f)
void | write_to_file (generic_file &f) const
| 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
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)
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 dar64-2.8.3-win64/include/dar/archive_num.hpp.

## Constructor & Destructor Documentation

## ◆ archive_num() [1/2]

libdar::archive_num::archive_num | ( | U_16 | arg = 0 | ) |
| inline

Definition at line 49 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ archive_num() [2/2]

libdar::archive_num::archive_num | ( | U_16 | arg = 0 | ) |
| inline

Definition at line 49 of file src/libdar/archive_num.hpp.

## Member Function Documentation

## ◆ operator U_16() [1/2]

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 dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ operator U_16() [2/2]

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 src/libdar/archive_num.hpp.

## ◆ operator++() [1/2]

archive_num & libdar::archive_num::operator++ | ( |  | ) |
| inline

Definition at line 62 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ operator++() [2/2]

archive_num & libdar::archive_num::operator++ | ( |  | ) |
| inline

Definition at line 62 of file src/libdar/archive_num.hpp.

## ◆ operator=() [1/2]

U_16 libdar::archive_num::operator= | ( | U_16 | arg | ) |
| inline

Definition at line 61 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ operator=() [2/2]

U_16 libdar::archive_num::operator= | ( | U_16 | arg | ) |
| inline

Definition at line 61 of file src/libdar/archive_num.hpp.

## ◆ set() [1/2]

void libdar::archive_num::set | ( | U_16 | arg | ) |
| inline private

Definition at line 77 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ set() [2/2]

void libdar::archive_num::set | ( | U_16 | arg | ) |
| inline private

Definition at line 77 of file src/libdar/archive_num.hpp.

## Member Data Documentation

## ◆ MAX

constexpr U_I libdar::archive_num::MAX = 65534
| static constexpr private

Definition at line 73 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ val

U_16 libdar::archive_num::val
| private

Definition at line 75 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

## ◆ val_size

constexpr U_I libdar::archive_num::val_size = sizeof(U_16)
| static constexpr private

Definition at line 72 of file dar64-2.8.3-win64/include/dar/archive_num.hpp.

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

- dar64-2.8.3-win64/include/dar/archive_num.hpp
- src/libdar/archive_num.hpp