|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
#include "reusex/core/ProjectDB.hpp"#include "reusex/core/survey.hpp"#include <cstddef>#include <map>#include <optional>#include <string>#include <vector>
Go to the source code of this file.
Classes | |
| struct | reusex::core::ReportSurveyRow |
| One survey type as the PDF report's Kortlægning section lists it. More... | |
| struct | reusex::core::SurveySyncOptions |
| Options for sync_survey — the cloud names it reads from. More... | |
| struct | reusex::core::SurveySyncReport |
| Counts of what sync_survey changed. More... | |
Namespaces | |
| namespace | reusex |
| namespace | reusex::core |
| Wire form of one stored report PDF version — the ReportPdfVersion schema in ruxd's API contract (docs/gui/openapi.yaml, in the ruxd repo). | |
Functions | |
| std::map< int64_t, EnvironmentStatus > | reusex::core::environment_statuses (const ProjectDB &db) |
| EnvironmentStatus | reusex::core::environment_status_of (const ProjectDB &db, int64_t type_id) |
| ProjectDB::SurveyTypeRecord | reusex::core::set_review_status (ProjectDB &db, int64_t type_id, ReviewStatus status) |
| Approving a type whose miljøstatus is afventer throws SamplePendingError. | |
| std::vector< ProjectDB::SurveyPartRecord > | reusex::core::set_type_quantity (ProjectDB &db, int64_t type_id, double total) |
| Scales the type's parts to sum to total (redistribute_quantity). | |
| std::vector< TypeTotals > | reusex::core::type_totals (const ProjectDB &db) |
| ProjectDB::SampleRecord | reusex::core::update_sample_checked (ProjectDB &db, int64_t id, const ProjectDB::SamplePatch &patch) |
| Sample edit with the stage/result rule enforced (validate_sample_state on the merged state). | |
| std::vector< ReportSurveyRow > | reusex::core::report_survey_rows (const ProjectDB &db) |
| One row per reportable survey type, in id order, for the PDF report's survey section ("kun godkendte mængder indgår"). | |
| SurveySyncReport | reusex::core::sync_survey (ProjectDB &db, const SurveySyncOptions &opts={}) |
| Fill survey_types / survey_parts from the instances table: one type per semantic class, one bygningsdel (survey part) per instance, placed in the room most of its points fall in. | |