UnshowFromArr

ostrat.UnshowFromArr
See theUnshowFromArr companion object
class UnshowFromArr[Ae, ArrAe <: Arr[Ae], A](val typeStr: String, f: ArrAe => A)(implicit evA: Unshow[Ae], build1: BuilderArrMap[Ae, ArrAe]) extends Unshow[A]

Unshow type class instances for building classes from sequences through two builders.

Attributes

Companion
object
Graph
Supertypes
trait Unshow[A]
trait Persist
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def fromExpr(expr: Expr): EMon[A]

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 methods

def concat[TT >: A](operand: Unshow[TT], newTypeStr: String): Unshow[TT]

Attributes

Inherited from:
Unshow
def findUniqueTFromStatements[ArrT <: Arr[A]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[A, ArrT]): EMon[A]

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
def fromAnySettingOrExpr(expr: Expr): EMon[A]

Attributes

Inherited from:
Unshow
def fromSettingOrExpr(SettingStr: String, expr: Expr): EMon[A]

Attributes

Inherited from:
Unshow
final def fromStatement(st: Statement): EMon[A]

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

Trys 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]): EMon[A]

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]): EMon[A]

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
def settingFromStatements(sts: RArr[Statement], settingStr: String): EMon[A]

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): EMon[A]

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

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[A]](sts: RArr[Statement])(implicit arrBuild: BuilderArrMap[A, ArrT]): ArrT

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

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

Attributes

Inherited from:
Unshow

Concrete fields

val stage: UnshowSeqLike[Ae, ArrAe]

Unshows the sequence from which the actual wanted type is mapped.

Unshows the sequence from which the actual wanted type is mapped.

Attributes

The type of the object to be persisted.

The type of the object to be persisted.

Attributes