OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_de_format_info Struct Reference

#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
 

Detailed Description

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.

See also
occtl_de_format_info_at, occtl_de_format_info_by_id

Member Data Documentation

◆ can_read_file

int32_t occtl_de_format_info::can_read_file

1 when occtl_de_read can dispatch this format.

◆ can_read_memory

int32_t occtl_de_format_info::can_read_memory

1 when occtl_de_read_memory supports this format.

◆ can_write_file

int32_t occtl_de_format_info::can_write_file

1 when occtl_de_write can dispatch this format.

◆ can_write_memory

int32_t occtl_de_format_info::can_write_memory

1 when occtl_de_write_memory supports this format.

◆ extension_count

size_t occtl_de_format_info::extension_count

Number of extensions reported by occtl_de_format_extensions.

◆ id

const char* occtl_de_format_info::id

Stable lowercase format id.

◆ label

const char* occtl_de_format_info::label

Human-readable format label.

◆ p_next

const void* occtl_de_format_info::p_next

Reserved; set to NULL.

◆ struct_version

uint32_t occtl_de_format_info::struct_version

Set to OCCTL_DE_FORMAT_INFO_VERSION_1 by producers.


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