cgta.serland

SerClassProxy

case class SerClassProxy[A](f: () ⇒ SerClass[A]) extends SerClass[A] with Product with Serializable

This class represents an attempt to overcome circular dependency issues for example when you have a structure something like this: trait NodeOrLeaf case class Node(child : NodeOrLeaf) case class Leaf(x : Int) currently this will lead to stack overflows if you try to define serialization for these classs between the ser for NodeOrLeaf and Node's .ser

Used in conjunction with CSerial it looks like this: implicit lazy val ser = proxySerial(forCase(this.apply _))

Linear Supertypes
Serializable, Serializable, Product, Equals, SerClass[A], SerGenable[A], SerSchemable[A], SerReadable[A], SerWritable[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SerClassProxy
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SerClass
  7. SerGenable
  8. SerSchemable
  9. SerReadable
  10. SerWritable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SerClassProxy(f: () ⇒ SerClass[A])

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copy(schemaFn: () ⇒ SerSchema = () => this.schema, readFn: (SerInput) ⇒ A = this.read, writeFn: (A, SerOutput) ⇒ Unit = this.write, genFn: () ⇒ Gen[A] = () => this.gen): SerClass[A]

    Definition Classes
    SerClass
  7. def ensureSet: SerClass[A]

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. val f: () ⇒ SerClass[A]

  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def gen: Gen[A]

    Definition Classes
    SerClassProxySerGenable
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. val lock: oscala.util.OLock

  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. var proxied: SerClass[A]

  19. def read(in: SerInput): A

    Definition Classes
    SerClassProxySerReadable
  20. def sample: A

    Definition Classes
    SerGenable
  21. def schema: XUnknown

    Definition Classes
    SerClassProxySerSchemable
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def write(a: A, out: SerOutput): Unit

    Definition Classes
    SerClassProxySerWritable

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SerClass[A]

Inherited from SerGenable[A]

Inherited from SerSchemable[A]

Inherited from SerReadable[A]

Inherited from SerWritable[A]

Inherited from AnyRef

Inherited from Any

Ungrouped