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

Metadata for one stored report PDF version. More...

#include <ProjectDB.hpp>

Collaboration diagram for reusex::ProjectDB::ReportPdfRecord:

Public Attributes

int64_t id = 0
std::string created_at
 UTC, as sqlite's datetime('now') stores it: "YYYY-MM-DD HH:MM:SS" (no 'T', no zone suffix).
std::string label
std::size_t size_bytes = 0
int version = 0
 1-based position in generation order (v1 is the first PDF ever made).
std::optional< int > blocking_types
 Survey types that still blocked the report when it was generated; nullopt for versions made before schema v23.

Detailed Description

Metadata for one stored report PDF version.

The PDF blob itself is fetched separately via report_pdf(id).

Definition at line 1076 of file ProjectDB.hpp.

Member Data Documentation

◆ blocking_types

std::optional<int> reusex::ProjectDB::ReportPdfRecord::blocking_types

Survey types that still blocked the report when it was generated; nullopt for versions made before schema v23.

Definition at line 1087 of file ProjectDB.hpp.

◆ created_at

std::string reusex::ProjectDB::ReportPdfRecord::created_at

UTC, as sqlite's datetime('now') stores it: "YYYY-MM-DD HH:MM:SS" (no 'T', no zone suffix).

Definition at line 1080 of file ProjectDB.hpp.

◆ id

int64_t reusex::ProjectDB::ReportPdfRecord::id = 0

Definition at line 1077 of file ProjectDB.hpp.

◆ label

std::string reusex::ProjectDB::ReportPdfRecord::label

Definition at line 1081 of file ProjectDB.hpp.

◆ size_bytes

std::size_t reusex::ProjectDB::ReportPdfRecord::size_bytes = 0

Definition at line 1082 of file ProjectDB.hpp.

◆ version

int reusex::ProjectDB::ReportPdfRecord::version = 0

1-based position in generation order (v1 is the first PDF ever made).

Definition at line 1084 of file ProjectDB.hpp.


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