Class PrimitiveData

Inheritance Relationships

Derived Types

Class Documentation

class PrimitiveData

Common data class for all lanelet primitives.

This class provides the data that all lanelet primitives have in common: id and attributes. It is inherited by all other data classes.

This is only an implementation class and only meant to be derived from, never instanciated.

Subclassed by lanelet::AreaData, lanelet::LaneletData, lanelet::LineStringData, lanelet::PointData, lanelet::RegulatoryElementData

Public Functions

PrimitiveData() noexcept = default
PrimitiveData(PrimitiveData &&rhs) noexcept = default
PrimitiveData &operator=(PrimitiveData &&rhs) noexcept = default
PrimitiveData(const PrimitiveData &rhs) = default
PrimitiveData &operator=(const PrimitiveData &rhs) = default
inline explicit PrimitiveData(Id id, AttributeMap attributes = AttributeMap())

Constructs a PrimitiveData object.

Public Members

Id id = {InvalId}

Id of this primitive (unique across one map)

AttributeMap attributes

attributes of this primitive

Protected Functions

~PrimitiveData() = default