ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::core::json_export::SectionDescriptor Struct Reference

Describes a section in the JSON export template. More...

#include <materialepas_json_export.hpp>

Collaboration diagram for reusex::core::json_export::SectionDescriptor:

Public Attributes

const char * name_en
 English section name (e.g., "Owner").
const char * name_da
 Danish section name (e.g., "Ejer").
const traits::PropertyDescriptorproperties
 Pointer to property descriptor array for this section.
size_t property_count
 Number of properties in the array.
size_t passport_offset
 Offset of the section struct within MaterialPassport.

Detailed Description

Describes a section in the JSON export template.

Maps a MaterialPassport section struct to its JSON representation, including English/Danish names and the property descriptors.

Definition at line 24 of file materialepas_json_export.hpp.

Member Data Documentation

◆ name_da

const char* reusex::core::json_export::SectionDescriptor::name_da

Danish section name (e.g., "Ejer").

Definition at line 29 of file materialepas_json_export.hpp.

◆ name_en

const char* reusex::core::json_export::SectionDescriptor::name_en

English section name (e.g., "Owner").

Definition at line 26 of file materialepas_json_export.hpp.

◆ passport_offset

size_t reusex::core::json_export::SectionDescriptor::passport_offset

Offset of the section struct within MaterialPassport.

Definition at line 38 of file materialepas_json_export.hpp.

◆ properties

const traits::PropertyDescriptor* reusex::core::json_export::SectionDescriptor::properties

Pointer to property descriptor array for this section.

Definition at line 32 of file materialepas_json_export.hpp.

◆ property_count

size_t reusex::core::json_export::SectionDescriptor::property_count

Number of properties in the array.

Definition at line 35 of file materialepas_json_export.hpp.


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