36 #ifndef DATABASE_OPTIONS_HPP
37 #define DATABASE_OPTIONS_HPP
39 #include "../my_config.h"
64 void clear() { x_partial =
false; x_partial_read_only =
false; x_warn_order =
true; };
90 bool get_partial()
const {
return x_partial; };
91 bool get_partial_read_only()
const {
return x_partial_read_only; };
92 bool get_warn_order()
const {
return x_warn_order; };
96 bool x_partial_read_only;
112 void clear() { x_overwrite =
false; };
123 bool get_overwrite()
const {
return x_overwrite; };
157 void clear() { x_revert_archive_numbering =
false; };
162 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
165 bool x_revert_archive_numbering;
181 void clear() { x_revert_archive_numbering =
false; };
186 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
189 bool x_revert_archive_numbering;
206 void clear() { x_revert_archive_numbering =
false; };
211 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
214 bool x_revert_archive_numbering;
230 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(); };
271 bool get_early_release()
const {
return x_early_release; };
272 bool get_info_details()
const {
return x_info_details; };
273 const std::vector<std::string> & get_extra_options_for_dar()
const {
return x_extra_options_for_dar; };
274 const infinint & get_date()
const {
return x_date; };
275 bool get_ignore_dar_options_in_database()
const {
return x_ignore_dar_options_in_database; };
276 bool get_even_when_removed()
const {
return x_even_when_removed; };
279 bool x_early_release;
281 std::vector<std::string> x_extra_options_for_dar;
283 bool x_ignore_dar_options_in_database;
284 bool x_even_when_removed;
300 void clear() { x_revert_archive_numbering =
false; };
305 bool get_revert_archive_numbering()
const {
return x_revert_archive_numbering; };
308 bool x_revert_archive_numbering;