ComplianceSpec

object ComplianceSpec : ConfigSpec

A specification of the parameters regarding compliance to load from a config file.

Properties

Link copied to clipboard
val adultFemale: RequiredItem<Double>

Compliance of a female adult.

Link copied to clipboard
val adultMale: RequiredItem<Double>

Compliance of a male adult.

Link copied to clipboard
val childFemale: RequiredItem<Double>

Compliance of a female child.

Link copied to clipboard
val childMale: RequiredItem<Double>

Compliance of a male child.

Link copied to clipboard
val elderlyFemale: RequiredItem<Double>

Compliance of a female elderly.

Link copied to clipboard
val elderlyMale: RequiredItem<Double>

Compliance of a male elderly.

Link copied to clipboard
open override val innerSpecs: Set<Spec>
Link copied to clipboard
open override val items: Set<Item<*>>
Link copied to clipboard
override val prefix: String

Functions

Link copied to clipboard
open override fun addInnerSpec(spec: Spec)
Link copied to clipboard
open override fun addItem(item: Item<*>)
Link copied to clipboard
open operator fun get(path: String): Spec
Link copied to clipboard
inline fun <T> lazy(name: String?, description: String, noinline thunk: (config: ItemContainer) -> T): LazyProperty<T>
Link copied to clipboard
inline fun <T> optional(default: T, name: String?, description: String): OptionalProperty<T>
Link copied to clipboard
open operator fun plus(spec: Spec): Spec
Link copied to clipboard
open fun qualify(item: Item<*>): String
Link copied to clipboard
inline fun <T> required(name: String?, description: String): RequiredProperty<T>
Link copied to clipboard
open fun withFallback(spec: Spec): Spec
Link copied to clipboard
open fun withPrefix(prefix: String): Spec