Crate viva_genapi_xml

Crate viva_genapi_xml 

Source
Expand description

Load and pre-parse GenICam XML using quick-xml.

This crate provides types and functions for parsing GenICam XML descriptions into a structured representation that can be used by the core evaluation engine.

Structs§

BitField
Bitfield metadata describing a sub-range of a register payload.
ConverterDecl
Declaration of a Converter node for bidirectional value transformation.
EnumEntryDecl
Declaration for a single enumeration entry.
IntConverterDecl
Declaration of an IntConverter node for integer-specific bidirectional conversion.
MinimalXmlInfo
Minimal metadata extracted from a quick XML scan.
NodeMeta
Shared metadata present on every GenICam node.
PredicateRefs
References to predicate provider nodes used for runtime gating.
StringDecl
Declaration of a StringReg node for string-typed register access.
SwissKnifeDecl
Declaration of a SwissKnife node consisting of an arithmetic expression.
XmlModel
Full XML model describing the GenICam schema version and all declared nodes.

Enums§

AccessMode
Access privileges for a GenICam node as described in the XML.
Addressing
Register addressing metadata for a node.
ByteOrder
Byte order used to interpret a multi-byte register payload.
EnumValueSrc
Source of the numeric value backing an enumeration entry.
FloatEncoding
Byte-level encoding of the payload behind a <Float> / <FloatReg> node.
NodeDecl
Declaration of a node extracted from the GenICam XML description.
Representation
Recommended UI representation for a numeric feature.
SkOutput
Output type of a SwissKnife expression node.
Visibility
Visibility level controlling which users see a feature.
XmlError

Functions§

fetch_and_load_xml
Fetch the GenICam XML document using the provided memory reader closure.
parse
Parse a GenICam XML document into an XmlModel.
parse_into_minimal_nodes
Parse a GenICam XML snippet and collect minimal metadata.