Expand description

Some utils to work with the NeTEx format, especially the frames.

Enums

Functions

  • Extract a frame of type frame_type from the map of frames. This function fails if none or more than one frame is found.
  • Returns the value from its key in a <KeyList> XML element (standard element of NeTEx format). You can convert the result into the type you want.
  • Returns a map of all frames (pointer to an Element) per FrameType. The input parameter must be an Element (XML element) that contains frames. Usually, it will be an element call <frames> in NeTEx standard.

Type Definitions

  • Map of frames, categorized by FrameType. Multiple frames of the same type can exist, they’re stored in a Vec.