Persist2Ints

class Persist2Ints[R <: Show2Ints](typeStr: String, name1: String, name2: String, newT: (Int, Int) => R) extends Persist2Elem[Int, Int, R]

Persistence type class for types that extend Show2Ints.

class Persist2Elem[Int, Int, R]
trait Persist[R]
trait UnShow[R]
trait Show2ElemT[Int, Int, R]
trait ShowElemT[R]
trait ShowT[R]
class Object
trait Matchable
class Any

Value members

Inherited methods

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

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

Inherited from
UnShow
def findUniqueTFromStatements[ArrT <: ArrBase[R]](sts: Statements)(implicit arrBuild: ArrBuilder[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.

Inherited from
UnShow
def fromClauses1[A1, B](f: A1 => B, clauses: Arr[Clause])(implicit ev1: Persist[A1]): EMon[B]
Inherited from
UnShow
override
def fromExpr(expr: ParseExpr): EMon[R]
Definition Classes
Inherited from
PersistProduct
final

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

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

Inherited from
UnShow
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].

Inherited from
UnShow
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].

Inherited from
UnShow
override
def showT(obj: R, way: Way, maxPlaces: Int, minPlaces: Int): String
Definition Classes
Inherited from
ShowElemT
override
def strT(obj: R): String

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.

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
Inherited from
ShowElemT
override
def syntaxDepthT(obj: R): Int

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.

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
Inherited from
ShowElemT

Produces a List of the UnShow type from List of Statements

Produces a List of the UnShow type from List of Statements

Inherited from
UnShow
def valuesFromStatements[ArrT <: ArrBase[R]](sts: Statements)(implicit arrBuild: ArrBuilder[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].

Inherited from
UnShow

Inherited fields

val opt1: Option[Int]
Inherited from
Persist2Elem
val opt2: Option[Int]
Inherited from
Persist2Elem

Implicits

Inherited implicits

implicit
def ev1: ShowT[Int]
Inherited from
Persist2Elem
implicit
def ev2: ShowT[Int]
Inherited from
Persist2Elem