Packages

c

org.nlogo.api

FormatterPair

class FormatterPair[A, B <: ModelFormat[A, B]] extends AnyRef

Source
ModelLoader.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormatterPair
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FormatterPair(modelFormat: B, serializers: Seq[ComponentSerialization[A, B]])(implicit aTag: ClassTag[A])

Value Members

  1. def addSerializer(s: ComponentSerialization[A, B]): FormatterPair[A, B]
  2. def addSerializers(s: Seq[ComponentSerialization[A, B]]): FormatterPair[A, B]
  3. def emptyModel: Model
  4. def formatClass: Class[_ <: B]
  5. def load(source: String): Try[Model]
  6. def load(uri: URI): Try[Model]
  7. val modelFormat: B
  8. def name: String
  9. def save(model: Model, uri: URI): Try[URI]
  10. def serializationClass: Class[_]
  11. val serializers: Seq[ComponentSerialization[A, B]]
  12. def sourceString(model: Model): Try[String]