29 #ifndef DATABASE_OPTIONS_HPP
30 #define DATABASE_OPTIONS_HPP
32 #include "../my_config.h"
61 bool get_partial()
const {
return x_partial; };
84 bool get_overwrite()
const {
return x_overwrite; };
108 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
111 bool x_revert_archive_numbering;
125 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
128 bool x_revert_archive_numbering;
143 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
146 bool x_revert_archive_numbering;
155 database_restore_options() { x_early_release = x_info_details = x_ignore_dar_options_in_database = x_even_when_removed =
false; x_date = 0; x_extra_options_for_dar.clear(); };
196 bool get_early_release()
const {
return x_early_release; };
197 bool get_info_details()
const {
return x_info_details; };
198 const std::vector<std::string> & get_extra_options_for_dar()
const {
return x_extra_options_for_dar; };
199 const infinint & get_date()
const {
return x_date; };
200 bool get_ignore_dar_options_in_database()
const {
return x_ignore_dar_options_in_database; };
201 bool get_even_when_removed()
const {
return x_even_when_removed; };
204 bool x_early_release;
206 std::vector<std::string> x_extra_options_for_dar;
208 bool x_ignore_dar_options_in_database;
209 bool x_even_when_removed;
223 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
226 bool x_revert_archive_numbering;