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

Single-pass validating typed reader with caller-owned, reusable storage. More...

#include <zxsd_bind.h>

Collaboration diagram for zxsd_bind_stream_t:
Collaboration graph
[legend]

Data Fields

zxsd_xml_reader_t xml
 Raw parser and full-document validator.
 
const zxsd_bind_selection_t * selection
 Generated selection.
 
zxsd_bind_arena_t * arena
 Arena borrowed until dispose.
 
void * object
 Caller-owned selected structure.
 
zxsd_bind_item_fn callback
 Typed delivery adapter.
 
void * user_data
 Application context.
 
size_t arena_mark
 Arena usage restored after delivery/error/dispose.
 
size_t active_depth
 Selected element depth, or zero.
 
int validate_only
 Whether further materialization is disabled.
 
int finished
 Whether finish completed successfully.
 
zxsd_bind_stream_frame_t frames [32u]
 Bounded binding stack.
 

Detailed Description

Single-pass validating typed reader with caller-owned, reusable storage.

Definition at line 221 of file zxsd_bind.h.

Field Documentation

◆ active_depth

size_t zxsd_bind_stream_t::active_depth

Selected element depth, or zero.

Definition at line 229 of file zxsd_bind.h.

◆ arena

zxsd_bind_arena_t* zxsd_bind_stream_t::arena

Arena borrowed until dispose.

Definition at line 224 of file zxsd_bind.h.

◆ arena_mark

size_t zxsd_bind_stream_t::arena_mark

Arena usage restored after delivery/error/dispose.

Definition at line 228 of file zxsd_bind.h.

◆ callback

zxsd_bind_item_fn zxsd_bind_stream_t::callback

Typed delivery adapter.

Definition at line 226 of file zxsd_bind.h.

◆ finished

int zxsd_bind_stream_t::finished

Whether finish completed successfully.

Definition at line 231 of file zxsd_bind.h.

◆ frames

zxsd_bind_stream_frame_t zxsd_bind_stream_t::frames[32u]

Bounded binding stack.

Definition at line 232 of file zxsd_bind.h.

◆ object

void* zxsd_bind_stream_t::object

Caller-owned selected structure.

Definition at line 225 of file zxsd_bind.h.

◆ selection

const zxsd_bind_selection_t* zxsd_bind_stream_t::selection

Generated selection.

Definition at line 223 of file zxsd_bind.h.

◆ user_data

void* zxsd_bind_stream_t::user_data

Application context.

Definition at line 227 of file zxsd_bind.h.

◆ validate_only

int zxsd_bind_stream_t::validate_only

Whether further materialization is disabled.

Definition at line 230 of file zxsd_bind.h.

◆ xml

zxsd_xml_reader_t zxsd_bind_stream_t::xml

Raw parser and full-document validator.

Definition at line 222 of file zxsd_bind.h.


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