Packages

c

de.sciss.serial

RefMapIn

abstract class RefMapIn[Repr] extends AnyRef

Building block for deserializing Product based type hierarchies.

By default, the following type tags are supported:

- 'B' Boolean - 'C' Const (freely definable type -- must implement readIdentifiedConst) - 'D' Double - 'F' Float - 'I' Int - 'L' Long - 'M' Map[_, _] - 'O' Option[_] - 'P' Product (through registered ProductReader instances) - 'S' String - 'T' Set[_] - 'X' Vec[_] (IndexedSeq) - 'U' Unit () - 'R' (freely definable type -- must implement readIdentifiedR) - 'Y' (freely definable type -- must implement readIdentifiedY) - 'u' (freely definable type -- must implement readIdentifiedU) - 'E' (freely definable type -- must implement readIdentifiedE) - '<' reference to previous object (as written by RefMapOut) - '\u0000' null

Sub-classes may want to patch into readCustomElem and readCustomProduct to handle specific new types.

Self Type
RefMapIn[Repr] with Repr
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefMapIn
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RefMapIn(in0: DataInput)

    in0

    the binary input to read from

Type Members

  1. abstract type Const <: Product
  2. abstract type E
  3. abstract type R
  4. abstract type U
  5. abstract type Y

Abstract Value Members

  1. abstract def readProductWithKey(key: String, arity: Int): Product
    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def in: DataInput
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def readBoolean(): Boolean
  16. def readCustomElem(cookie: Char): Any
    Attributes
    protected
  17. def readCustomProduct(cookie: Char): Product
    Attributes
    protected
  18. final def readDouble(): Double
  19. final def readDoubleVec(): IndexedSeq[Double]
  20. def readElem(): Any
  21. def readElemWithCookie(cookie: Char): Any
    Attributes
    protected
  22. final def readFloat(): Float
  23. final def readFloatVec(): IndexedSeq[Float]
  24. def readIdentifiedConst(): (RefMapIn.this)#Const
    Attributes
    protected
  25. def readIdentifiedE(): (RefMapIn.this)#E
    Attributes
    protected
  26. def readIdentifiedR(): (RefMapIn.this)#R
    Attributes
    protected
  27. def readIdentifiedU(): (RefMapIn.this)#U
    Attributes
    protected
  28. def readIdentifiedY(): (RefMapIn.this)#Y
    Attributes
    protected
  29. final def readInt(): Int
  30. final def readIntVec(): IndexedSeq[Int]
  31. final def readLong(): Long
  32. final def readMap[K, V](key: => K, value: => V): Map[K, V]
  33. final def readOption[A](elem: => A): Option[A]
  34. def readProduct(): Product
  35. final def readProductT[A <: Product](): A

    Like readProduct but casts the result (unsafe)

  36. def readProductWithCookie(cookie: Char): Product
    Attributes
    protected
  37. final def readSet[A](elem: => A): Set[A]
  38. final def readString(): String
  39. final def readStringOption(): Option[String]
  40. final def readVec[A](elem: => A): IndexedSeq[A]
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. final def unexpectedCookie(cookie: Char, expected: Char): Nothing
    Attributes
    protected
  44. final def unexpectedCookie(cookie: Char): Nothing
    Attributes
    protected
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped