26 #ifndef DATABASE_OPTIONS_HPP
27 #define DATABASE_OPTIONS_HPP
29 #include "../my_config.h"
54 void clear() { x_partial =
false; x_partial_read_only =
false; x_warn_order =
true; };
80 bool get_partial()
const {
return x_partial; };
81 bool get_partial_read_only()
const {
return x_partial_read_only; };
82 bool get_warn_order()
const {
return x_warn_order; };
86 bool x_partial_read_only;
102 void clear() { x_overwrite =
false; };
113 bool get_overwrite()
const {
return x_overwrite; };
147 void clear() { x_revert_archive_numbering =
false; };
152 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
155 bool x_revert_archive_numbering;
171 void clear() { x_revert_archive_numbering =
false; };
176 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
179 bool x_revert_archive_numbering;
196 void clear() { x_revert_archive_numbering =
false; };
201 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
204 bool x_revert_archive_numbering;
220 void clear() { 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(); };
261 bool get_early_release()
const {
return x_early_release; };
262 bool get_info_details()
const {
return x_info_details; };
263 const std::vector<std::string> & get_extra_options_for_dar()
const {
return x_extra_options_for_dar; };
264 const infinint & get_date()
const {
return x_date; };
265 bool get_ignore_dar_options_in_database()
const {
return x_ignore_dar_options_in_database; };
266 bool get_even_when_removed()
const {
return x_even_when_removed; };
269 bool x_early_release;
271 std::vector<std::string> x_extra_options_for_dar;
273 bool x_ignore_dar_options_in_database;
274 bool x_even_when_removed;
290 void clear() { x_revert_archive_numbering =
false; };
295 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
298 bool x_revert_archive_numbering;