Packages

t

ostrat

PersistProduct

trait PersistProduct[R] extends Persist[R]

The base trait for the persistence of algebraic product types, including case classes. Note the arity of the product, its size is based on the number of logical parameters. For example, a LineSeg is a product 2, it has a start point and an end point, although its is stored as 4 parameters xStart, yStart, xEnd, yEnd.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistProduct
  2. Persist
  3. UnShow
  4. ShowT
  5. PersistBase
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def showT(obj: R, way: Way, maxPlaces: Int, minPlaces: Int): String
    Definition Classes
    ShowT
  2. abstract def strT(obj: R): String

    Provides the standard string representation for the object.

    Provides the standard string representation for the object. Its called ShowT to indicate this is a type class method that acts upon an object rather than a method on the object being shown.

    Definition Classes
    ShowT
  3. abstract def syntaxDepthT(obj: R): Int

    Simple values such as Int, String, Double have a syntax depth of one.

    Simple values such as Int, String, Double have a syntax depth of one. A Tuple3[String, Int, Double] has a depth of 2. Not clear whether this should always be determined at compile time or if sometimes it should be determined at runtime.

    Definition Classes
    ShowT
  4. abstract def typeStr: String

    The RSON type of T.

    The RSON type of T. This the only data that a ShowT instance requires, that can't be implemented through delegation to an object of type Show.

    Definition Classes
    PersistBase

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. def findUniqueFromStatements(sts: Statements): EMon[R]

    Finds value of UnShow type, returns error if more than one match.

    Finds value of UnShow type, returns error if more than one match.

    Definition Classes
    UnShow
  9. def findUniqueTFromStatements[ArrT <: ArrImut[R]](sts: Statements)(implicit arrBuild: ArrTBuilder[R, ArrT]): EMon[R]

    Finds value of this UnShow type, returns error if more than one match.

    Finds value of this UnShow type, returns error if more than one match.

    Definition Classes
    UnShow
  10. def fromClauses1[A1, B](f: (A1) => B, clauses: Arr[Clause])(implicit ev1: Persist[A1]): EMon[B]
    Definition Classes
    UnShow
  11. def fromExpr(expr: ParseExpr): EMon[R]
    Definition Classes
    PersistProductUnShow
  12. final def fromStatement(st: Statement): EMon[R]

    Trys to build an object of type T from the statement.

    Trys to build an object of type T from the statement. Not sure if this is useful.

    Definition Classes
    UnShow
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def settingTFromStatement(settingStr: String, st: Statement): EMon[R]

    Finds a setting of the type of this UnShow instance from a [Statement].

    Finds a setting of the type of this UnShow instance from a [Statement].

    Definition Classes
    UnShow
  20. def settingTFromStatements(sts: Arr[Statement], settingStr: String): EMon[R]

    Finds a setting of the type of this UnShow instance from an Arr[Statement].

    Finds a setting of the type of this UnShow instance from an Arr[Statement].

    Definition Classes
    UnShow
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def valueListFromStatements(l: Statements): List[R]

    Produces a List of the UnShow type from List of Statements

    Produces a List of the UnShow type from List of Statements

    Definition Classes
    UnShow
  24. def valuesFromStatements[ArrT <: ArrImut[R]](sts: Statements)(implicit arrBuild: ArrTBuilder[R, ArrT]): ArrT

    Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

    Produces an ArrImut of the UnShow type from Statements (Refs[Statement].

    Definition Classes
    UnShow
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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 Persist[R]

Inherited from UnShow[R]

Inherited from ShowT[R]

Inherited from PersistBase

Inherited from AnyRef

Inherited from Any

Ungrouped