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

#include <ProjectDB.hpp>

Collaboration diagram for reusex::ProjectDB::SurveyPartRecord:

Public Attributes

std::string code
int64_t type_id = 0
std::optional< std::string > cloud_name
std::optional< std::uint32_t > instance_id
std::optional< std::uint32_t > room_id
std::string room_name
double quantity = 1.0
bool starred = false
std::string note
std::optional< std::string > material_guid
std::optional< std::string > instance_guid {}
 Stable link to instances.guid (schema v22); survives rux create instances re-runs because instance identity is reconciled on guid, not (cloud_id, instance_id).

Detailed Description

Definition at line 1171 of file ProjectDB.hpp.

Member Data Documentation

◆ cloud_name

std::optional<std::string> reusex::ProjectDB::SurveyPartRecord::cloud_name

Definition at line 1175 of file ProjectDB.hpp.

◆ code

std::string reusex::ProjectDB::SurveyPartRecord::code

Definition at line 1172 of file ProjectDB.hpp.

◆ instance_guid

std::optional<std::string> reusex::ProjectDB::SurveyPartRecord::instance_guid {}

Stable link to instances.guid (schema v22); survives rux create instances re-runs because instance identity is reconciled on guid, not (cloud_id, instance_id).

Nullable: a manually added part needs no instance. Read-only on a patch; set via cloud_name/instance_id on add. Kept LAST so existing positional aggregate initializers still compile.

Definition at line 1193 of file ProjectDB.hpp.

◆ instance_id

std::optional<std::uint32_t> reusex::ProjectDB::SurveyPartRecord::instance_id

Definition at line 1177 of file ProjectDB.hpp.

◆ material_guid

std::optional<std::string> reusex::ProjectDB::SurveyPartRecord::material_guid

Definition at line 1184 of file ProjectDB.hpp.

◆ note

std::string reusex::ProjectDB::SurveyPartRecord::note

Definition at line 1182 of file ProjectDB.hpp.

◆ quantity

double reusex::ProjectDB::SurveyPartRecord::quantity = 1.0

Definition at line 1180 of file ProjectDB.hpp.

◆ room_id

std::optional<std::uint32_t> reusex::ProjectDB::SurveyPartRecord::room_id

Definition at line 1178 of file ProjectDB.hpp.

◆ room_name

std::string reusex::ProjectDB::SurveyPartRecord::room_name

Definition at line 1179 of file ProjectDB.hpp.

◆ starred

bool reusex::ProjectDB::SurveyPartRecord::starred = false

Definition at line 1181 of file ProjectDB.hpp.

◆ type_id

int64_t reusex::ProjectDB::SurveyPartRecord::type_id = 0

Definition at line 1173 of file ProjectDB.hpp.


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