ShowNFixed

ostrat.ShowNFixed
trait ShowNFixed[A] extends ShowCompound[A], PersistNFixed

The base trait for the persistence of algebraic product types, including case classes.

Attributes

Graph
Supertypes
trait PersistN
trait ShowCompound[A]
trait Show[A]
trait Persist
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Show1PlusFixed[A1, A]
trait Show2PlusFixed[A1, A2, A]
trait Show2[A1, A2, A]
class Persist2Both[A1, A2, A]
class Show2Imp[A1, A2, A]
trait ShowDbl2[A]
class PersistDbl2Both[A]
class ShowDbl2Imp[A]
trait ShowInt2[A]
class PersistInt2Both[A]
class ShowInt2Imp[A]
trait Show3Plus[A1, A2, A3, A]
trait Show3[A1, A2, A3, A]
class Persist3Both[A1, A2, A3, A]
class Show3Imp[A1, A2, A3, A]
trait ShowDbl3[A]
class PersistDbl3Both[A]
class ShowDbl3Imp[A]
trait ShowInt3[A]
class ShowInt3Imp[A]
trait Show4Plus[A1, A2, A3, A4, A]
trait Show4[A1, A2, A3, A4, A]
class Show4Imp[A1, A2, A3, A4, A]
class ShowDbl4[A]
trait ShowInt4[A]
class ShowInt4Imp[A]
trait Show5Plus[A1, A2, A3, A4, A5, A]
trait Show5[A1, A2, A3, A4, A5, A]
class Show5Imp[A1, A2, A3, A4, A5, A]
trait ShowInt5[A]
trait Show6Plus[A1, A2, A3, A4, A5, A6, A]
trait Show6[A1, A2, A3, A4, A5, A6, A]
class Show6Imp[A1, A2, A3, A4, A5, A6, A]
trait ShowTellN[A]
Show all

Members list

Value members

Abstract methods

def fieldShows: RArr[Show[_]]

Single identifiers for values.

Single identifiers for values.

Attributes

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

Concrete methods

override def show(obj: A, style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Attributes

Definition Classes

Inherited methods

def numParams: Int

Number of parameter constituents of this class.

Number of parameter constituents of this class.

Attributes

Inherited from:
PersistNFixed

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Inherited from:
PersistN
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
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

Inherited from:
Show
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

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Inherited from:
Persist

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