26#ifndef ARCHIVE_OPTIONS5_HPP
27#define ARCHIVE_OPTIONS5_HPP
42 using libdar::entrepot;
44 class archive_options_read:
public libdar::archive_options_read
47 void set_entrepot(
const entrepot & entr)
49 std::shared_ptr<libdar::entrepot> tmp(entr.
clone());
51 throw Ememory(
"libdar5::archive_options_create::set_entrepot");
55 void set_ref_entrepot(
const entrepot & entr)
57 std::shared_ptr<libdar::entrepot> tmp(entr.
clone());
59 throw Ememory(
"libdar5::archive_options_create::set_ref_entrepot");
69 class archive_options_create:
public libdar::archive_options_create
72 using libdar::archive_options_create::archive_options_create;
89 void set_reference(libdar::archive *ref_arch)
92 std::shared_ptr<libdar::archive>(ref_arch,
93 [](libdar::archive* ptr) {} )
99 void set_entrepot(
const entrepot & entr)
101 std::shared_ptr<libdar::entrepot> tmp(entr.
clone());
103 throw Ememory(
"libdar5::archive_options_create::set_entrepot");
114 class archive_options_isolate:
public libdar::archive_options_isolate
116 void set_entrepot(
const entrepot & entr)
118 std::shared_ptr<libdar::entrepot> tmp(entr.
clone());
120 throw Ememory(
"libdar5::archive_options_create::set_entrepot");
129 class archive_options_merge:
public libdar::archive_options_merge
133 using libdar::archive_options_merge::archive_options_merge;
135 void set_auxilliary_ref(libdar::archive *ref)
137 libdar::archive_options_merge::set_auxiliary_ref(
138 std::shared_ptr<libdar::archive>(ref,
139 [](libdar::archive* ptr) {})
145 void set_entrepot(
const entrepot & entr)
147 std::shared_ptr<libdar::entrepot> tmp(entr.
clone());
149 throw Ememory(
"libdar5::archive_options_create::set_entrepot");
159 using libdar::archive_options_extract;
166 class archive_options_listing:
public libdar::archive_options_listing_shell
169 using libdar::archive_options_listing_shell::archive_options_listing_shell;
177 using libdar::archive_options_diff;
184 using libdar::archive_options_test;
191 using libdar::archive_options_repair;
this file contains a set of classes used to transmit options to archive operation
this file contains shell_interaction options class for listing
virtual entrepot * clone() const =0
generate a clone of "this"
void set_entrepot(const std::shared_ptr< entrepot > &entr)
defines the protocol to use for slices
void set_reference(std::shared_ptr< archive > ref_arch)
set the archive to take as reference (nullptr for a full backup)
void set_entrepot(const std::shared_ptr< entrepot > &entr)
defines the protocol to use for slices
void set_entrepot(const std::shared_ptr< entrepot > &entr)
defines the protocol to use for slices
void set_entrepot(const std::shared_ptr< entrepot > &entr)
defines the protocol to use to retrieve slices
void set_ref_entrepot(const std::shared_ptr< entrepot > &entr)
defines the protocol to use to retrieve slices of the reference archive (where the external catalogue...
libdar5 namespace encapsulate all libdar symbols