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

How a connection is opened. More...

#include <ProjectDB.hpp>

Public Attributes

bool read_only = false
bool hardened = false

Detailed Description

How a connection is opened.

hardened is for files from a source the process does not trust (a server's uploaded or registered cases): the connection runs with SQLITE_DBCONFIG_DEFENSIVE, trusted_schema=OFF, and with triggers and views disabled (a ReUseX project has neither), so nothing stored in the file's schema executes when it is opened or read.

Definition at line 89 of file ProjectDB.hpp.

Member Data Documentation

◆ hardened

bool reusex::ProjectDB::OpenOptions::hardened = false

Definition at line 91 of file ProjectDB.hpp.

◆ read_only

bool reusex::ProjectDB::OpenOptions::read_only = false

Definition at line 90 of file ProjectDB.hpp.


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