|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
#include <array>#include <cstddef>#include <cstdint>#include <map>#include <optional>#include <stdexcept>#include <string>#include <string_view>#include <vector>
Go to the source code of this file.
Classes | |
| struct | reusex::core::SampleState |
| class | reusex::core::SamplePendingError |
| class | reusex::core::NameConflictError |
| A name that must be unique (template, user column, stored field) is already taken. More... | |
| struct | reusex::core::TypeTotals |
| struct | reusex::core::Fraction |
| struct | reusex::core::BlockingType |
| struct | reusex::core::FractionReport |
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). | |
Enumerations | |
| enum class | reusex::core::Treatment { reusex::core::bevaring , reusex::core::genbrug , reusex::core::genanvendelse , reusex::core::nyttiggoerelse , reusex::core::bortskaffelse } |
| enum class | reusex::core::ReviewStatus { reusex::core::queue , reusex::core::approved , reusex::core::rejected } |
| enum class | reusex::core::SampleStage { reusex::core::planlagt , reusex::core::udtaget , reusex::core::sendt , reusex::core::svar } |
| enum class | reusex::core::SampleResult { reusex::core::none , reusex::core::ren , reusex::core::forurenet } |
| enum class | reusex::core::EnvironmentStatus { reusex::core::ren_screening , reusex::core::afventer , reusex::core::forurenet , reusex::core::ren_proevesvar } |
| enum class | reusex::core::BlockingReason { reusex::core::review , reusex::core::sample , reusex::core::mass } |
| Why a type blocks the waste report; a type gets one reason, by precedence sample > review > mass. More... | |
Functions | |
| std::string_view | reusex::core::to_string (Treatment) |
| std::string_view | reusex::core::to_string (ReviewStatus) |
| std::string_view | reusex::core::to_string (SampleStage) |
| std::string_view | reusex::core::to_string (SampleResult) |
| std::string_view | reusex::core::to_string (EnvironmentStatus) |
| std::string_view | reusex::core::treatment_label_da (Treatment) |
| Danish user-facing labels (the PDF report). | |
| std::string_view | reusex::core::environment_label_da (EnvironmentStatus) |
| std::optional< Treatment > | reusex::core::treatment_from_string (std::string_view) |
| std::optional< ReviewStatus > | reusex::core::review_status_from_string (std::string_view) |
| std::optional< SampleStage > | reusex::core::sample_stage_from_string (std::string_view) |
| std::optional< SampleResult > | reusex::core::sample_result_from_string (std::string_view) |
| void | reusex::core::validate_sample_state (const SampleState &) |
| EnvironmentStatus | reusex::core::environment_status (const std::vector< SampleState > &linked) |
| std::array< double, kTreatmentCount > | reusex::core::circularity_breakdown (const std::vector< TypeTotals > &) |
| std::string_view | reusex::core::to_string (BlockingReason) |
| bool | reusex::core::reportable (ReviewStatus status, EnvironmentStatus environment) |
| True when a type's tonnes may be reported: it is approved and not awaiting a sample (an afventer answer can still make it contaminated). | |
| FractionReport | reusex::core::fractions_by_eak (const std::vector< TypeTotals > &) |
| Approved tonnes per (EAK code, treatment, contaminated), for the bygningsaffald.dk report (GUI Phase 5, R3). | |
| std::string_view | reusex::core::eak_fraction_name (std::string_view code) |
| std::map< std::uint32_t, std::uint32_t > | reusex::core::majority_room (const std::vector< std::uint32_t > &instance_labels, const std::vector< std::uint32_t > &room_labels) |
| std::vector< double > | reusex::core::redistribute_quantity (const std::vector< double > ¤t, double total) |
| std::string | reusex::core::part_code (int number) |
| std::string | reusex::core::sample_code (int number) |
Variables | |
| constexpr std::size_t | reusex::core::kTreatmentCount = 5 |
| constexpr int | reusex::core::kManualSemanticClass = -2 |
| semantic_class of a survey type created by hand, never matched by sync_survey. | |
| constexpr std::string_view | reusex::core::kDefaultInstanceCloud = "instances" |
| Default name of the instance-label cloud sync_survey reads from, and the default SurveySyncOptions::instances_cloud. | |