Package

io.rbricks

itemized

Permalink

package itemized

Visibility
  1. Public
  2. All

Type Members

  1. trait IndexedItemized extends Itemized

    Permalink

    Marker trait for ADTs representing enumerations with an associated value ("index")

    Marker trait for ADTs representing enumerations with an associated value ("index")

    The convention requires the following structure for the enumeration: sealed trait EnumName extends ItemizedIndex { type Index = IndexType } object EnumName { case object Element1 extends EnumName { val index = element1Index } case object Element2 extends EnumName { val index = element2Index } }

  2. trait Itemized extends Product with Serializable

    Permalink

    Marker trait for ADTs representing enumerations

    Marker trait for ADTs representing enumerations

    The convention requires the following structure for the enumeration: sealed trait EnumName extends Itemized object EnumName { case object Element1 extends EnumName case object Element2 extends EnumName }

  3. trait ItemizedCodec[T <: Itemized] extends AnyRef

    Permalink

    Typeclass with conversions to and from strings for ADTs representing enumerations

  4. trait ItemizedIndex[T <: IndexedItemized] extends AnyRef

    Permalink

Value Members

  1. object ItemizedCodec

    Permalink
  2. object ItemizedIndex

    Permalink
  3. object ItemizedIndexMacro

    Permalink
  4. object ItemizedMacro

    Permalink
  5. package annotation

    Permalink

Ungrouped