zerodds-corba-ir 1.0.0-rc.1

OMG CORBA 3.3 Part 1 §14 Interface Repository (IR) — TypeCode (32 TCKinds), Repository-Hierarchie, DefinitionKind, RepositoryId-Format. no_std + alloc.
Documentation
  • Coverage
  • 100%
    176 out of 176 items documented1 out of 41 items with examples
  • Size
  • Source code size: 34.76 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.35 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 27s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • zero-objects/zero-dds
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SandraK82

zerodds-corba-ir

License: Apache-2.0 docs.rs

OMG CORBA 3.3 Part 1 §14 — Interface Repository (IR). TypeCode (alle 32 TCKinds), Repository mit Containment-Hierarchie, DefinitionKind, strukturierte RepositoryId. no_std + alloc, forbid(unsafe_code). Safety classification: STANDARD.

Spec-Mapping

Spec Abschnitt
OMG CORBA 3.3 Part 1 §10.7.3 (RepositoryId-Format), §14 (Interface Repository)
OMG CORBA 3.3 Part 1 §3.13.1 (TypeCode-Operations)

Was ist drin

  • RepositoryIdIDL:<scoped>:<major>.<minor>-Parser/Builder mit Roundtrip-Garantie.
  • TypeCode — alle 32 OMG-TCKinds (tk_nulltk_local_interface) mit strukturierten Bodies fuer komplexe Types (Struct/Union/Enum/Value/...).
  • Repository + Container + Definition + Module — IR-Containment- Hierarchie pro §14.
  • DefinitionKinddk_*-Konstanten gemaess §14.

Was nicht abgedeckt ist

  • IIOP-Wire-Encoding der IR-Operations: gehoert in corba-iiop / corba-giop.
  • TypeCode-CDR-Encapsulation: liegt in zerodds-cdr (OMG-CDR §15.3.5.1 TypeCode-Wire-Format).

Beispiel

use zerodds_corba_ir::{RepositoryId, TcKind, TypeCode};

let r = RepositoryId::parse("IDL:omg.org/CosNaming/NamingContext:1.0").unwrap();
assert_eq!(r.scoped_name, "omg.org/CosNaming/NamingContext");
assert_eq!(r.to_canonical(), "IDL:omg.org/CosNaming/NamingContext:1.0");

Tests

cargo test -p zerodds-corba-ir

See also