Packages

  • package root
    Definition Classes
    root
  • package gem
    Definition Classes
    root
  • package ocs2
    Definition Classes
    gem
  • package pio
    Definition Classes
    ocs2
  • 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.

    Definition Classes
    pio
  • Attr
  • Child
  • EmptySearchPath
  • Listing
  • Lookup
  • NodeOps
  • NonEmptySearchPath
  • Optional
  • Param
  • Paramset
  • Required
  • SearchPath

implicit class NodeOps extends AnyRef

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

Instance Constructors

  1. new NodeOps(n: Node)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def \!(matchString: String): Required
  5. def \*(matchString: String): Listing
  6. def \?(matchString: String): Optional
  7. def \\*(matchString: String): Listing
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def attr(name: String): Option[Node]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def decode[A](implicit ev: PioDecoder[A]): Either[PioError, A]
  12. def deepParams(name: String): List[Node]
  13. def deepParamsets(name: String): List[Node]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def name: Option[String]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def param(name: String): Option[Node]
  25. def params(name: String): List[Node]
  26. def paramset(name: String): Option[Node]
  27. def paramsets(name: String): List[Node]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toRequired: Required
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def value: Option[Node]
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped