CheckSec.
More...
#include <checks.h>
|
static int | checkDatabaseTablesNames (QSqlDatabase &db, const QString &db_name) |
| Checks the tables' names integrity. More...
|
|
static bool | newCollectionDatabase (QSqlDatabase &db, const QString &db_name, const std::vector< QString > &ws_names) |
| Builds a new database for the logs Collection. More...
|
|
static bool | newHashesDatabase (QSqlDatabase &db, const QString &db_name, const std::vector< QString > &ws_names) |
| Builds a new database for the used log files' Hashes. More...
|
|
CheckSec.
Utilities used to check the databases
◆ checkCollectionDatabase()
bool CheckSec::checkCollectionDatabase |
( |
const std::string & |
db_path | ) |
|
|
static |
◆ checkDatabaseTablesNames()
int CheckSec::checkDatabaseTablesNames |
( |
QSqlDatabase & |
db, |
|
|
const QString & |
db_name |
|
) |
| |
|
staticprivate |
◆ checkHashesDatabase()
bool CheckSec::checkHashesDatabase |
( |
const std::string & |
db_path | ) |
|
|
static |
◆ newCollectionDatabase()
bool CheckSec::newCollectionDatabase |
( |
QSqlDatabase & |
db, |
|
|
const QString & |
db_name, |
|
|
const std::vector< QString > & |
ws_names |
|
) |
| |
|
staticprivate |
Builds a new database for the logs Collection.
- Parameters
-
db | Database object, already initialized |
db_name | Database's name, eventually used by the dialogs |
- Returns
- The result of the operation
- See also
- checkCollectionDatabase(), checkHashesDatabase()
◆ newHashesDatabase()
bool CheckSec::newHashesDatabase |
( |
QSqlDatabase & |
db, |
|
|
const QString & |
db_name, |
|
|
const std::vector< QString > & |
ws_names |
|
) |
| |
|
staticprivate |
Builds a new database for the used log files' Hashes.
- Parameters
-
db | Database object, already initialized |
db_name | Database's name, eventually used by the dialogs |
- Returns
- The result of the operation
- See also
- checkCollectionDatabase(), checkHashesDatabase()
The documentation for this class was generated from the following files:
- logdoctor/utilities/checks.h
- logdoctor/utilities/checks.cpp