223 -> std::optional<Material>;
230 -> std::optional<TriState>;
237 -> std::optional<EmissionQuantityType>;
244 -> std::optional<SubstanceContentMethod>;
251 -> std::optional<TransactionType>;
Material
Material types from the Danish material passport standard (v1.0).
@ stainless_steel
Stainless steel.
@ metal_general
Metal (general).
@ impregnated_cardboard
Impregnated cardboard.
@ lime_mortar
Lime mortar.
@ natural_stone
Natural stone.
@ construction_wood
Construction wood.
@ wood_fiber_boards
Wood fiber boards.
@ painting_supplies
Painting supplies.
@ glazed_tile
Glazed tile.
@ lining_paper
Lining paper.
@ aerated_concrete
Aerated concrete.
@ precious_wood
Precious wood.
@ laminated_wood
Laminated wood.
@ wood_unclassified
Wood (unclassified).
@ wood_concrete_cement_fibers
Wood concrete / cement fibers.
@ wood_fibers
Wood fibers.
@ mineral_wool
Mineral wool.
@ corrugated_cardboard
Corrugated cardboard.
@ foam_plastic
Foam plastic.
@ natural_filling_aggregate
Natural filling / aggregate.
@ cement_mortar
Cement mortar.
@ wood_shavings
Wood shavings.
@ lightweight_clinker_concrete
Lightweight clinker concrete.
auto substance_content_method_from_string(std::string_view str) -> std::optional< SubstanceContentMethod >
Parse a SubstanceContentMethod from its string identifier.
auto to_string(Material value) -> std::string_view
Convert Material enum to its string identifier.
auto emission_quantity_type_from_string(std::string_view str) -> std::optional< EmissionQuantityType >
Parse an EmissionQuantityType from its string identifier.
auto transaction_type_from_string(std::string_view str) -> std::optional< TransactionType >
Parse a TransactionType from its string identifier.
EmissionQuantityType
Emission quantity type.
@ exact
Exact measured value.
@ interval
Interval (use lower/upper interval fields).
auto material_from_string(std::string_view str) -> std::optional< Material >
Parse a Material from its string identifier.
TriState
Tri-state value for Yes/No/Unknown fields.
@ unknown
Unknown / not determined.
TransactionType
Transaction log entry type.
@ property
Change to a property value.
@ document
Change to the document itself (metadata).
auto tri_state_from_string(std::string_view str) -> std::optional< TriState >
Parse a TriState from its string identifier.
SubstanceContentMethod
Method used to determine substance content.
@ measured_surface
Measured on the surface of the material.
@ assumed
Assumed based on knowledge or documentation.
@ measured_material
Measured in the material itself.