ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::ProjectDB::IntegrityReport Struct Reference

Result of check_integrity(). More...

#include <ProjectDB.hpp>

Collaboration diagram for reusex::ProjectDB::IntegrityReport:

Public Types

enum class  Kind { ok , unreadable , corrupt , executable_schema }

Public Member Functions

bool ok () const noexcept

Public Attributes

Kind kind = Kind::ok
std::string detail
 SQLite's own words; empty when ok.

Detailed Description

Result of check_integrity().

Definition at line 103 of file ProjectDB.hpp.

Member Enumeration Documentation

◆ Kind

Enumerator
ok 
unreadable 

SQLite cannot open the file at all.

corrupt 

PRAGMA quick_check reported a problem

executable_schema 

the schema holds a trigger or a view

Definition at line 104 of file ProjectDB.hpp.

Member Function Documentation

◆ ok()

bool reusex::ProjectDB::IntegrityReport::ok ( ) const
inlinenoexcept

Definition at line 112 of file ProjectDB.hpp.

References kind, and ok.

Member Data Documentation

◆ detail

std::string reusex::ProjectDB::IntegrityReport::detail

SQLite's own words; empty when ok.

Definition at line 111 of file ProjectDB.hpp.

◆ kind

Kind reusex::ProjectDB::IntegrityReport::kind = Kind::ok

Definition at line 110 of file ProjectDB.hpp.

Referenced by ok().


The documentation for this struct was generated from the following file: