AttributeListBuilder

class AttributeListBuilder(namePrefix: String = "")

Environment for describing and building attribute lists.

Constructors

Link copied to clipboard
constructor(namePrefix: String = "")

Functions

Link copied to clipboard
@JvmName(name = "OptionalDoubleAttribute")
fun attribute(name: String, optionalValue: Option<Double>)
@JvmName(name = "OptionalStringAttribute")
fun attribute(name: String, optionalValue: Option<String>)
fun attribute(name: String, value: Boolean)
fun attribute(name: String, value: Double)
fun attribute(name: String, value: Int)
fun attribute(name: String, value: String)
fun attribute(name: String, value: Double, unitOfMeasure: UnitOfMeasure)
Link copied to clipboard
fun attributes(name: String = "", setup: AttributeListBuilder.() -> Unit)

Environment for building a nested attribute list within this attribute list.

Link copied to clipboard
Link copied to clipboard
operator fun Attribute.unaryPlus()