Packages

package pio

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. pio
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait PioDecoder[A] extends AnyRef

    Typeclass for decoders of PIO-ish XML exported from an OCS2 database.

  2. sealed trait PioError extends Product with Serializable
  3. type PioOptional[A] = OptionT[[β$0$]Either[PioError, β$0$], A]

Value Members

  1. object PioDecoder
  2. object PioError extends Serializable
  3. object PioOptional
  4. object PioPath

    PioPath provides a simplistic DSL for working with the OCS3 export format for OCS2 data.

    PioPath provides a simplistic DSL for working with the OCS3 export format for OCS2 data. The language consists of an operator:

    • \! - required element
    • \? - optional element
    • \* - list of immediate child elements
    • \\* - list of descendent elements

    and a corresponding match string where the initial character is:

    • '@' - attribute element
    • '#' - param element with the given name
    • '&' - paramset element with the given name
    • - (i.e., no special character) child element

    Example:

    (n \?  "instrument" \! "@type")

    Node with an optional <instrument> element that, if it exists, has a required "type" attribute. When decoded, any path that included a ? but not a * will produce an Option result. Any path including a * will produce a List.

    If a required element is missing, the result will be MissingKey PioError when decoded.

Inherited from AnyRef

Inherited from Any

Ungrouped