PersistBothTellSimple

ostrat.PersistBothTellSimple
See thePersistBothTellSimple companion object
class PersistBothTellSimple[R <: TellSimple](typeStr: String, val singletons: RArr[R])(implicit ct: ClassTag[R]) extends ShowTellSimple[R], PersistBoth[R], UnshowSingletons[R]

Attributes

Companion
object
Graph
Supertypes
trait UnshowSingletons[R]
trait PersistBoth[R]
trait Unshow[R]
class ShowTellSimple[R]
trait Serializable
trait Product
trait Equals
trait ShowTell[R]
trait Show[R]
trait Persist
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def shortKeys: ArrPairStr[R]

Attributes

Definition Classes

Inherited methods

def ++[AA >: R <: TellSimple](operand: UnshowSingletons[AA])(implicit ct: ClassTag[AA]): UnshowSingletons[AA]

Attributes

Inherited from:
UnshowSingletons
def append[AA >: R <: TellSimple](extras: AA*)(implicit ct: ClassTag[AA]): UnshowSingletons[AA]

Attributes

Inherited from:
UnshowSingletons
def concat[TT >: R](operand: Unshow[TT], newTypeStr: String): Unshow[TT]

Attributes

Inherited from:
Unshow
def findUniqueTFromStatements[ArrT <: Arr[R]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[R, ArrT]): ExcMon[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.

Attributes

Inherited from:
Unshow

Attributes

Inherited from:
Unshow
override def fromExpr(expr: Expr): ExcMon[R]

Tries to return a value of the type from an RSON expression Expr that has been parsed from a String or text file. This method must be implemented by all instances.

Tries to return a value of the type from an RSON expression Expr that has been parsed from a String or text file. This method must be implemented by all instances.

Attributes

Definition Classes
Inherited from:
UnshowSingletons
def fromSettingOrExpr(SettingStr: String, expr: Expr): ExcMon[R]

Tries to get type from Expr, or from the value Expr of a setting.

Tries to get type from Expr, or from the value Expr of a setting.

Attributes

Inherited from:
Unshow
final def fromStatement(st: Statement): ExcMon[R]

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

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

Attributes

Inherited from:
Unshow
def keySettingFromStatement[KT](settingCode: KT, st: Statement)(implicit evST: Unshow[KT]): ExcMon[R]

Finds a setting with a key / code of type KT and a value of the type of this UnShow instance from a [Statement].

Finds a setting with a key / code of type KT and a value of the type of this UnShow instance from a [Statement].

Attributes

Inherited from:
Unshow
def keySettingFromStatements[KT](sts: RArr[Statement], settingCode: KT)(implicit evST: Unshow[KT]): ExcMon[R]

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

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

Attributes

Inherited from:
Unshow

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def settingFromStatements(sts: RArr[Statement], settingStr: String): ExcMon[R]

Finds an identifier setting with a value type of this UnShow instance from an Arr[Statement].

Finds an identifier setting with a value type of this UnShow instance from an Arr[Statement].

Attributes

Inherited from:
Unshow
def settingTFromStatement(settingStr: String, st: Statement): ExcMon[R]

Finds an identifier setting with a value of the type of this UnShow instance from a [Statement].

Finds an identifier setting with a value of the type of this UnShow instance from a [Statement].

Attributes

Inherited from:
Unshow
override def show(obj: R, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
Inherited from:
ShowTell
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.

Attributes

Definition Classes
Inherited from:
ShowTell
override def syntaxDepth(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.

Attributes

Definition Classes
Inherited from:
ShowTell
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Show -> Any
Inherited from:
Show

This property determines if the type can be used with Multiple syntax.

This property determines if the type can be used with Multiple syntax.

MyObj * 7

. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).

Attributes

Inherited from:
Persist
def valuesFromStatements[ArrT <: Arr[R]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[R, ArrT]): ArrT

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

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

Attributes

Inherited from:
Unshow

Concrete fields

val singletons: RArr[R]

The sequence of objects that can be unshown.

The sequence of objects that can be unshown.

Attributes