CONZEPT 16 C++ API
|
Diagnosis of a database. More...
#include "C16/Database.hpp"
Public Types | |
enum | Option { Option::EXTENDED = 1, Option::KEY_ANALYSIS = 2, Option::RECOVERY = 4 } |
Option for a diagnosis of a database. More... | |
enum | Status { Status::NONE, Status::READ_1, Status::RECOVER, Status::READ_2, Status::PRIMES, Status::KEY_ANALYSIS, Status::DONE } |
Status of a diagnosis of a database. More... | |
enum | Result { Result::OK, Result::DEFECTIVE, Result::REPAIRED, Result::CORRECTED, Result::DATABASE_READ_ONLY, Result::SERVER_MEMORY_INSUFFICIENT, Result::OTHER } |
Result of a diagnosis of a database. More... | |
using | Callback = std::function< void(Status status, float progress) > |
Callback of a diagnosis of a database. More... | |
using C16::Database::Diagnosis::Callback = std::function<void (Status status, float progress) > |
Callback of a diagnosis of a database.
status | Status of the diagnosis |
progress | Progress of the diagnosis as a fraction of 1 |
|
strong |
Option for a diagnosis of a database.
Enumerator | |
---|---|
EXTENDED | Option to perform an extended diagnosis. |
KEY_ANALYSIS | Option to perform a key analysis. |
RECOVERY | Option to perform a recovery. |
|
strong |
|
strong |