Show5Imp

ostrat.Show5.Show5Imp
class Show5Imp[A1, A2, A3, A4, A5, A](val typeStr: String, val name1: String, val fArg1: A => A1, val name2: String, val fArg2: A => A2, val name3: String, val fArg3: A => A3, val name4: String, val fArg4: A => A4, val name5: String, val fArg5: A => A5, val shortKeys: ArrPairStr[A], val opt5: Option[A5], opt4In: Option[A4], opt3In: Option[A3], opt2In: Option[A2], opt1In: Option[A1])(implicit val show1Ev: Show[A1], val show2Ev: Show[A2], val show3Ev: Show[A3], val showEv4: Show[A4], val showEv5: Show[A5]) extends Show5[A1, A2, A3, A4, A5, A]

Implementation class for the general cases of Show5 type class.

Attributes

Graph
Supertypes
trait Show5[A1, A2, A3, A4, A5, A]
trait Show5Plus[A1, A2, A3, A4, A5, A]
trait Show4Plus[A1, A2, A3, A4, A]
trait Show3Plus[A1, A2, A3, A]
trait Show2PlusFixed[A1, A2, A]
trait Show1PlusFixed[A1, A]
trait Show1Plus[A1, A]
trait ShowNFixed[A]
trait ShowCompound[A]
trait Show[A]
trait Persist5[A1, A2, A3, A4, A5]
trait Persist5Plus[A1, A2, A3, A4, A5]
trait Persist4Plus[A1, A2, A3, A4]
trait Persist3Plus[A1, A2, A3]
trait Persist2Plus[A1, A2]
trait Persist1Plus[A1]
trait PersistN
trait Persist
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final override def syntaxDepth(obj: A): 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 methods

override def fieldShows: RArr[Show[_]]

Attributes

Definition Classes
Inherited from:
Show5
override def numParams: Int

Number of parameter constituents of this class.

Number of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
Persist5
override def paramNames: StrArr

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
Persist5
override def show(obj: A, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes
Inherited from:
ShowNFixed
def show1(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Shows parameter 1 of the object.

Shows parameter 1 of the object.

Attributes

Inherited from:
Show1Plus
def show2(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Shows parameter 2 of the object.

Shows parameter 2 of the object.

Attributes

Inherited from:
Show2PlusFixed
def show3(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Shows parameter 3 of the object.

Shows parameter 3 of the object.

Attributes

Inherited from:
Show3Plus
def show4(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Shows parameter 4 of the object.

Shows parameter 4 of the object.

Attributes

Inherited from:
Show4Plus
def show5(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Shows parameter 5 of the object.

Shows parameter 5 of the object.

Attributes

Inherited from:
Show5Plus
override def strT(obj: A): 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:
ShowCompound
override def strs(obj: A, way: ShowStyle, maxPlaces: Int, minPlaces: Int): StrArr

Produces the Strings to represent the values of the components of this N component Show.

Produces the Strings to represent the values of the components of this N component Show.

Attributes

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

Concrete fields

val fArg1: A => A1

Gets the 1st show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Gets the 1st show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Attributes

val fArg2: A => A2

Gets the 2nd show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Gets the 2nd show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Attributes

val fArg3: A => A3

Gets the 2nd show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Gets the 2nd show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Attributes

val fArg4: A => A4

Gets the 2nd show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Gets the 2nd show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Attributes

val fArg5: A => A5

Gets the 5th show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Gets the 5th show field from the object. The Show fields do not necessarily correspond to the fields in memory.

Attributes

val name1: String

1st parameter name.

1st parameter name.

Attributes

val name2: String

2nd parameter name.

2nd parameter name.

Attributes

val name3: String

3rd parameter name.

3rd parameter name.

Attributes

val name4: String

4th parameter name.

4th parameter name.

Attributes

val name5: String

5th parameter name.

5th parameter name.

Attributes

override val opt1: Option[A1]

The optional default value for parameter 1.

The optional default value for parameter 1.

Attributes

override val opt2: Option[A2]

The optional default value for parameter 2.

The optional default value for parameter 2.

Attributes

override val opt3: Option[A3]

The optional default value for parameter 3.

The optional default value for parameter 3.

Attributes

override val opt4: Option[A4]

The optional default value for parameter 4.

The optional default value for parameter 4.

Attributes

override val opt5: Option[A5]

The optional default value for parameter 5.

The optional default value for parameter 5.

Attributes

Single identifiers for values.

Single identifiers for values.

Attributes

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Implicits

Implicits

implicit val show1Ev: Show[A1]

Show type class instance for the 1st Show field.

Show type class instance for the 1st Show field.

Attributes

implicit val show2Ev: Show[A2]

Show type class instance for the 2nd Show field.

Show type class instance for the 2nd Show field.

Attributes

implicit val show3Ev: Show[A3]

Show type class instance for the 2nd Show field.

Show type class instance for the 2nd Show field.

Attributes

implicit val showEv4: Show[A4]

Show type class instance for the 2nd Show field.

Show type class instance for the 2nd Show field.

Attributes

implicit val showEv5: Show[A5]

Show type class instance for the 5th Show field.

Show type class instance for the 5th Show field.

Attributes