org.cddcore.engine

EngineTypes

trait EngineTypes[R] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EngineTypes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type A

    A is a function from the parameters of the engine, and the result to a boolean.

    A is a function from the parameters of the engine, and the result to a boolean. It checks that some property is true

  2. type AssertionClosure = (A) ⇒ Boolean

    In order to call an A in the building code, when we don't know anything about the arity, we create a closure holding the parameters and reusltand pass the A function to it

  3. abstract type B

    B is a function from the parameters of the engine to a boolean.

    B is a function from the parameters of the engine to a boolean. It is effectively in calculating which scenario is to be used

  4. type BecauseClosure = (B) ⇒ Boolean

    In order to call a B in the building code, when we don't know anything about the arity, we create a closure holding the parameters and pass the B function to it

  5. type CfgClosure = (CfgFn) ⇒ Unit

  6. abstract type CfgFn

    this is a function from the parameters to Unit e,g, (P1,P2,P3)=> Unit

  7. type Code = CodeFn[B, RFn, R]

    This is just a type synonym to save messy code

  8. abstract type FragFn

    turns parameters into fragment results.

    turns parameters into fragment results. For example in XML in an engine 2 it might be (P1,P2)=>NodeSeq. I would love to know how to make this more type safe...

  9. abstract type ParamsToFragmentFn

    turns the params into a Fragment.

    turns the params into a Fragment. This can be modified by the fragment specifiers

  10. abstract type RFn

    RFn is a function from the parameters of the engine to a result R.

    RFn is a function from the parameters of the engine to a result R. It is used to calculate the result of the engine

  11. type RFnMaker = (Either[Exception, R]) ⇒ RFn

  12. abstract type RealScenarioBuilder

  13. type ResultClosure = (RFn) ⇒ R

    In order to call a RFN in the building code, when we don't know anything about the arity, we create a closure holding the parameters and pass the B function to it

Abstract Value Members

  1. abstract def makeClosureForAssertion(params: List[Any], r: ROrException[R]): (A) ⇒ Boolean

  2. abstract def makeClosureForBecause(params: List[Any]): (B) ⇒ Boolean

  3. abstract def makeClosureForCfg(params: List[Any]): (CfgFn) ⇒ Unit

  4. abstract def makeClosureForResult(params: List[Any]): (RFn) ⇒ R

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped