|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_de.h>
Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| const char * | id |
| const char * | label |
| size_t | extension_count |
| int32_t | can_read_file |
| int32_t | can_write_file |
| int32_t | can_read_memory |
| int32_t | can_write_memory |
Borrowed description of one supported data-exchange format.
String fields are library-owned and remain valid for the process lifetime. Producers set struct_version to OCCTL_DE_FORMAT_INFO_VERSION_1 and p_next to NULL.
\par Thread Safety Yes.
| int32_t occtl_de_format_info::can_read_file |
1 when occtl_de_read can dispatch this format.
| int32_t occtl_de_format_info::can_read_memory |
1 when occtl_de_read_memory supports this format.
| int32_t occtl_de_format_info::can_write_file |
1 when occtl_de_write can dispatch this format.
| int32_t occtl_de_format_info::can_write_memory |
1 when occtl_de_write_memory supports this format.
| size_t occtl_de_format_info::extension_count |
Number of extensions reported by occtl_de_format_extensions.
| const char* occtl_de_format_info::id |
Stable lowercase format id.
| const char* occtl_de_format_info::label |
Human-readable format label.
| const void* occtl_de_format_info::p_next |
Reserved; set to NULL.
| uint32_t occtl_de_format_info::struct_version |
Set to OCCTL_DE_FORMAT_INFO_VERSION_1 by producers.