zxsd 0.20.0
Embedded XML Schema validation for C
Loading...
Searching...
No Matches
Data Fields
zxsd_bind_field Struct Reference

Generated descriptor for one member of a bound structure. More...

#include <zxsd_bind.h>

Collaboration diagram for zxsd_bind_field:
Collaboration graph
[legend]

Data Fields

const char * name
 XML local name.
 
const char * namespace_uri
 XML namespace URI, or NULL.
 
zxsd_bind_role_t role
 Attribute, child element or content.
 
zxsd_bind_kind_t kind
 C value representation.
 
zxsd_bind_storage_t storage
 Member layout.
 
unsigned long min_occurs
 Minimum occurrences, zero when optional.
 
unsigned long max_occurs
 Maximum occurrences, or ULONG_MAX.
 
size_t offset
 Offset of the value, pointer or array member.
 
size_t presence_offset
 Offset of the bool presence member.
 
size_t count_offset
 Offset of the size_t count member.
 
size_t value_size
 Size of one stored value or array item.
 
const struct zxsd_bind_type * type
 Nested structure for complex values.
 
const char *const * enumeration
 Lexical values of an enumeration.
 
size_t enumeration_count
 Number of enumeration values.
 
zxsd_whitespace_t whitespace
 Normalization applied when reading.
 
const char * default_value
 Schema default value, or NULL.
 
const char * fixed_value
 Schema fixed value, or NULL.
 

Detailed Description

Generated descriptor for one member of a bound structure.

Definition at line 84 of file zxsd_bind.h.

Field Documentation

◆ count_offset

size_t zxsd_bind_field::count_offset

Offset of the size_t count member.

Definition at line 94 of file zxsd_bind.h.

◆ default_value

const char* zxsd_bind_field::default_value

Schema default value, or NULL.

Definition at line 100 of file zxsd_bind.h.

◆ enumeration

const char* const* zxsd_bind_field::enumeration

Lexical values of an enumeration.

Definition at line 97 of file zxsd_bind.h.

◆ enumeration_count

size_t zxsd_bind_field::enumeration_count

Number of enumeration values.

Definition at line 98 of file zxsd_bind.h.

◆ fixed_value

const char* zxsd_bind_field::fixed_value

Schema fixed value, or NULL.

Definition at line 101 of file zxsd_bind.h.

◆ kind

zxsd_bind_kind_t zxsd_bind_field::kind

C value representation.

Definition at line 88 of file zxsd_bind.h.

◆ max_occurs

unsigned long zxsd_bind_field::max_occurs

Maximum occurrences, or ULONG_MAX.

Definition at line 91 of file zxsd_bind.h.

◆ min_occurs

unsigned long zxsd_bind_field::min_occurs

Minimum occurrences, zero when optional.

Definition at line 90 of file zxsd_bind.h.

◆ name

const char* zxsd_bind_field::name

XML local name.

Definition at line 85 of file zxsd_bind.h.

◆ namespace_uri

const char* zxsd_bind_field::namespace_uri

XML namespace URI, or NULL.

Definition at line 86 of file zxsd_bind.h.

◆ offset

size_t zxsd_bind_field::offset

Offset of the value, pointer or array member.

Definition at line 92 of file zxsd_bind.h.

◆ presence_offset

size_t zxsd_bind_field::presence_offset

Offset of the bool presence member.

Definition at line 93 of file zxsd_bind.h.

◆ role

zxsd_bind_role_t zxsd_bind_field::role

Attribute, child element or content.

Definition at line 87 of file zxsd_bind.h.

◆ storage

zxsd_bind_storage_t zxsd_bind_field::storage

Member layout.

Definition at line 89 of file zxsd_bind.h.

◆ type

const struct zxsd_bind_type* zxsd_bind_field::type

Nested structure for complex values.

Definition at line 96 of file zxsd_bind.h.

◆ value_size

size_t zxsd_bind_field::value_size

Size of one stored value or array item.

Definition at line 95 of file zxsd_bind.h.

◆ whitespace

zxsd_whitespace_t zxsd_bind_field::whitespace

Normalization applied when reading.

Definition at line 99 of file zxsd_bind.h.


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