package io.rtron.model.roadspaces.roadspace.attribute

Classes

Name Description
class AttributeListBuilder: Any

Environment for describing and building attribute lists.

sealed class Attribute: Any

Abstract class of an attribute.

class StringAttribute: Attribute

Attribute with a name containing a certain string value.

class IntAttribute: Attribute

Attribute with a name containing a certain integer value.

class DoubleAttribute: Attribute

Attribute with a name containing a certain double value.

class BooleanAttribute: Attribute

Attribute with a name containing a certain boolean value.

class MeasureAttribute: Attribute

Attribute with a name containing a certain double value with a UnitOfMeasure.

class AttributeList: Attribute

List of attributes.

enum class UnitOfMeasure: Enum<UnitOfMeasure>

Methods

attributes

fun attributes(namePrefix: String, setup: AttributeListBuilder.()->Unit): AttributeList

Environment for building up an AttributeList with an attribute's namePrefix.

Parameters

Name Description
namePrefix: String

each attribute's name is prefixed with this variable

setup: AttributeListBuilder.()->Unit

DSL environment for describing attribute lists

ReturnValue

Name Description
AttributeList

toAttributes

fun FileIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
FileIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList

toAttributes

fun ModelIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
ModelIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList

toAttributes

fun RoadspaceIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
RoadspaceIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList

toAttributes

fun LaneSectionIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
LaneSectionIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList

toAttributes

fun LaneIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
LaneIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList

toAttributes

fun RoadspaceObjectIdentifier.toAttributes(prefix: String): AttributeList

Receiver

Name Description
RoadspaceObjectIdentifier

Parameters

Name Description
prefix: String

ReturnValue

Name Description
AttributeList