BasicDataTypeModifier
object BasicDataTypeModifier
Functions
Link copied to clipboard
fun <T, K : Comparable<K>> filterToSorted(elementList: List<T>, selector: (T) -> K, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList): List<T>
fun <T, K : Comparable<K>> filterToSorted(elementList: List<T>, selector: (T) -> K, location: String, attributeName: String, issueList: DefaultIssueList): List<T>
Link copied to clipboard
fun <T, K : Comparable<K>> filterToStrictlySorted(elementList: List<T>, selector: (T) -> K, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList): List<T>
fun <T, K : Comparable<K>> filterToStrictlySorted(elementList: List<T>, selector: (T) -> K, location: String, attributeName: String, issueList: DefaultIssueList): List<T>
Link copied to clipboard
fun modifyToFiniteDouble(element: Double, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList): Double
fun modifyToFiniteDouble(element: Double, location: String, attributeName: String, issueList: DefaultIssueList): Double
Link copied to clipboard
fun modifyToFinitePositiveDouble(element: Double, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList): Double
Link copied to clipboard
fun modifyToNonBlankString(element: String, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList, fallbackValue: String): String
Link copied to clipboard
fun modifyToOptionalFiniteDouble(optionalElement: Option<Double>, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList): Option<Double>
fun modifyToOptionalFiniteDouble(optionalElement: Option<Double>, location: String, attributeName: String, issueList: DefaultIssueList): Option<Double>
Link copied to clipboard
fun modifyToOptionalFinitePositiveDouble(optionalElement: Option<Double>, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList, tolerance: Double = 0.0): Option<Double>
Link copied to clipboard
fun modifyToOptionalString(optionalElement: Option<String>, location: Option<AbstractOpendriveIdentifier>, attributeName: String, issueList: DefaultIssueList): Option<String>
fun modifyToOptionalString(optionalElement: Option<String>, location: String, attributeName: String, issueList: DefaultIssueList): Option<String>