Disk ARchive  2.4.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
libdar::database_open_options Class Reference

options to open a database More...

#include <database_options.hpp>

List of all members.

Public Member Functions

void clear ()
void set_partial (bool value)
 partial option
void set_partial_read_only (bool value)
 partial and read only option
void set_warn_order (bool value)
 warning about file ordering in database
bool get_partial () const
bool get_partial_read_only () const
bool get_warn_order () const

Detailed Description

options to open a database

Definition at line 43 of file database_options.hpp.


Member Function Documentation

void libdar::database_open_options::set_partial ( bool  value) [inline]

partial option

Parameters:
[in]valueset to true to only load an manipulate database header
Note:
if value is set to true, the database loading is quick but only some database methods are available (see the database class documentation)

Definition at line 56 of file database_options.hpp.

partial and read only option

Parameters:
[in]valuewhen set, the database is in partial mode *and* in read-only. It cannot be dumped or modified.
Note:
if value is set to true, all restriction found for partial mode apply, and in addition, the database cannot be dumped (written back to file)

Definition at line 64 of file database_options.hpp.

void libdar::database_open_options::set_warn_order ( bool  value) [inline]

warning about file ordering in database

Parameters:
[in]valuewhether to warn when file chronological ordering does not respect the order of archives

Definition at line 70 of file database_options.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines