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

Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
libdar::database_restore_options Class Reference
API

options for restoration from database More...

`#include <database_options.hpp>`

## Public Member Functions
| database_restore_options (const database_restore_options &ref)=default
| database_restore_options (database_restore_options &&ref) noexcept=default
database_restore_options & | operator= (const database_restore_options &ref)=default
database_restore_options & | operator= (database_restore_options &&ref) noexcept=default
void | clear ()
void | set_early_release (bool value)
| early_release option
void | set_info_details (bool value)
| info_details option
void | set_extra_options_for_dar (const std::vector< std::string > &value)
| extra options to dar
void | set_ignore_dar_options_in_database (bool mode)
| ignore options to dar embedded in the database
void | set_date (const infinint &value)
| date option
void | set_even_when_removed (bool value)
| find data or EA if they have been removed at the requested data
bool | get_early_release () const
bool | get_info_details () const
const std::vector< std::string > & | get_extra_options_for_dar () const
const infinint & | get_date () const
bool | get_ignore_dar_options_in_database () const
bool | get_even_when_removed () const

## Private Attributes
bool | x_early_release
bool | x_info_details
std::vector< std::string > | x_extra_options_for_dar
infinint | x_date
bool | x_ignore_dar_options_in_database
bool | x_even_when_removed

## Detailed Description

options for restoration from database

Definition at line 220 of file database_options.hpp.

## Constructor & Destructor Documentation

## ◆ database_restore_options()

libdar::database_restore_options::database_restore_options | ( |  | ) |
| inline

Definition at line 223 of file database_options.hpp.

## Member Function Documentation

## ◆ clear()

void libdar::database_restore_options::clear | ( |  | ) |
| inline

Definition at line 230 of file database_options.hpp.

## ◆ get_date()

const infinint & libdar::database_restore_options::get_date | ( |  | ) | const
| inline

Definition at line 274 of file database_options.hpp.

## ◆ get_early_release()

bool libdar::database_restore_options::get_early_release | ( |  | ) | const
| inline

Definition at line 271 of file database_options.hpp.

## ◆ get_even_when_removed()

bool libdar::database_restore_options::get_even_when_removed | ( |  | ) | const
| inline

Definition at line 276 of file database_options.hpp.

## ◆ get_extra_options_for_dar()

const std::vector< std::string > & libdar::database_restore_options::get_extra_options_for_dar | ( |  | ) | const
| inline

Definition at line 273 of file database_options.hpp.

## ◆ get_ignore_dar_options_in_database()

bool libdar::database_restore_options::get_ignore_dar_options_in_database | ( |  | ) | const
| inline

Definition at line 275 of file database_options.hpp.

## ◆ get_info_details()

bool libdar::database_restore_options::get_info_details | ( |  | ) | const
| inline

Definition at line 272 of file database_options.hpp.

## ◆ set_date()

void libdar::database_restore_options::set_date | ( | const infinint & | value | ) |
| inline

date option

informations about files more recent than the given date are ignored. So you can restore file in the most recent state before a certain "date".

Note
  if set to zero, the most recent state available is looked for (this is the default value).

Definition at line 261 of file database_options.hpp.

## ◆ set_early_release()

void libdar::database_restore_options::set_early_release | ( | bool | value | ) |
| inline

early_release option

if early_release is set to true, some memory is released before calling dar

Note
  if early_release is true, this will free almost all memory allocated by the database before calling dar. drawback is that no more action is possible after this call (except destruction)

Definition at line 241 of file database_options.hpp.

## ◆ set_even_when_removed()

void libdar::database_restore_options::set_even_when_removed | ( | bool | value | ) |
| inline

find data or EA if they have been removed at the requested data

in the case a file has was removed at the request date, the data or EA that will be restored will be the one of it had just before being removed

Definition at line 267 of file database_options.hpp.

## ◆ set_extra_options_for_dar()

void libdar::database_restore_options::set_extra_options_for_dar | ( | const std::vector< std::string > & | value | ) |
| inline

extra options to dar

this option is a mean to provide some extra options to dar from dar_manager

Definition at line 251 of file database_options.hpp.

## ◆ set_ignore_dar_options_in_database()

void libdar::database_restore_options::set_ignore_dar_options_in_database | ( | bool | mode | ) |
| inline

ignore options to dar embedded in the database

Definition at line 255 of file database_options.hpp.

## ◆ set_info_details()

void libdar::database_restore_options::set_info_details | ( | bool | value | ) |
| inline

info_details option

if set to true, more detailed informations is displayed

Definition at line 246 of file database_options.hpp.

## Member Data Documentation

## ◆ x_date

infinint libdar::database_restore_options::x_date
| private

Definition at line 282 of file database_options.hpp.

## ◆ x_early_release

bool libdar::database_restore_options::x_early_release
| private

Definition at line 279 of file database_options.hpp.

## ◆ x_even_when_removed

bool libdar::database_restore_options::x_even_when_removed
| private

Definition at line 284 of file database_options.hpp.

## ◆ x_extra_options_for_dar

std::vector<std::string> libdar::database_restore_options::x_extra_options_for_dar
| private

Definition at line 281 of file database_options.hpp.

## ◆ x_ignore_dar_options_in_database

bool libdar::database_restore_options::x_ignore_dar_options_in_database
| private

Definition at line 283 of file database_options.hpp.

## ◆ x_info_details

bool libdar::database_restore_options::x_info_details
| private

Definition at line 280 of file database_options.hpp.

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

- database_options.hpp