MutableMetaProvider

interface MutableMetaProvider : MetaProvider, MutableValueProvider

A generic interface that gives access to getting and setting meta notes and values

Functions

getMeta
Link copied to clipboard
common
abstract override fun getMeta(name: Name): MutableMeta?
getValue
Link copied to clipboard
common
open override fun getValue(name: Name): Value?
setMeta
Link copied to clipboard
common
abstract fun setMeta(name: Name, node: Meta?)
setValue
Link copied to clipboard
common
open override fun setValue(name: Name, value: Value?)

Inheritors

MutableMeta
Link copied to clipboard
Scheme
Link copied to clipboard

Extensions

boolean
Link copied to clipboard
common
fun MutableMetaProvider.boolean(key: Name? = null): ReadWriteProperty<Any?, Boolean?>
fun MutableMetaProvider.boolean(default: Boolean, key: Name? = null): ReadWriteProperty<Any?, Boolean>
fun MutableMetaProvider.boolean(key: Name? = null, default: () -> Boolean): ReadWriteProperty<Any?, Boolean>
double
Link copied to clipboard
common
fun MutableMetaProvider.double(key: Name? = null): ReadWriteProperty<Any?, Double?>
fun MutableMetaProvider.double(default: Double, key: Name? = null): ReadWriteProperty<Any?, Double>
doubleArray
Link copied to clipboard
common
fun MutableMetaProvider.doubleArray(vararg default: Double, key: Name? = null): ReadWriteProperty<Any?, DoubleArray>
enum
Link copied to clipboard
common
inline fun <E : Enum<E>> MutableMetaProvider.enum(default: E, key: Name? = null): ReadWriteProperty<Any?, E>
float
Link copied to clipboard
common
fun MutableMetaProvider.float(key: Name? = null): ReadWriteProperty<Any?, Float?>
fun MutableMetaProvider.float(default: Float, key: Name? = null): ReadWriteProperty<Any?, Float>
int
Link copied to clipboard
common
fun MutableMetaProvider.int(key: Name? = null): ReadWriteProperty<Any?, Int?>
fun MutableMetaProvider.int(default: Int, key: Name? = null): ReadWriteProperty<Any?, Int>
listValue
Link copied to clipboard
common
fun <T> MutableMetaProvider.listValue(key: Name? = null, writer: (T) -> Value = { Value.of(it) }, reader: (Value) -> T): ReadWriteProperty<Any?, List<T>?>
long
Link copied to clipboard
common
fun MutableMetaProvider.long(key: Name? = null): ReadWriteProperty<Any?, Long?>
fun MutableMetaProvider.long(default: Long, key: Name? = null): ReadWriteProperty<Any?, Long>
node
Link copied to clipboard
common
fun MutableMetaProvider.node(key: Name? = null): ReadWriteProperty<Any?, Meta?>
fun <T> MutableMetaProvider.node(key: Name? = null, converter: MetaConverter<T>): ReadWriteProperty<Any?, T?>
number
Link copied to clipboard
common
fun MutableMetaProvider.number(key: Name? = null): ReadWriteProperty<Any?, Number?>
fun MutableMetaProvider.number(default: Number, key: Name? = null): ReadWriteProperty<Any?, Number>
fun MutableMetaProvider.number(key: Name? = null, default: () -> Number): ReadWriteProperty<Any?, Number>
numberList
Link copied to clipboard
common
fun MutableMetaProvider.numberList(vararg default: Number, key: Name? = null): ReadWriteProperty<Any?, List<Number>>
remove
Link copied to clipboard
common
fun MutableMetaProvider.remove(name: Name)
fun MutableMetaProvider.remove(key: String)
set
Link copied to clipboard
common
operator fun MutableMetaProvider.set(Key: NameToken, value: Meta)
operator fun MutableMetaProvider.set(key: String, value: Meta)
string
Link copied to clipboard
common
fun MutableMetaProvider.string(key: Name? = null): ReadWriteProperty<Any?, String?>
fun MutableMetaProvider.string(default: String, key: Name? = null): ReadWriteProperty<Any?, String>
fun MutableMetaProvider.string(key: Name? = null, default: () -> String): ReadWriteProperty<Any?, String>
stringList
Link copied to clipboard
common
fun MutableMetaProvider.stringList(vararg default: String, key: Name? = null): ReadWriteProperty<Any?, List<String>>
fun MutableMetaProvider.stringList(key: Name? = null): ReadWriteProperty<Any?, List<String>?>
value
Link copied to clipboard
common
fun MutableMetaProvider.value(key: Name? = null): ReadWriteProperty<Any?, Value?>
fun <T> MutableMetaProvider.value(key: Name? = null, writer: (T) -> Value? = { Value.of(it) }, reader: (Value?) -> T): ReadWriteProperty<Any?, T>