Public Member Functions | Public Attributes | Protected Member Functions | List of all members
lanelet::PrimitiveData Class Reference

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

#include <Primitive.h>

Inheritance diagram for lanelet::PrimitiveData:
Inheritance graph
[legend]

Public Member Functions

PrimitiveDataoperator= (PrimitiveData &&rhs) noexcept=default
 
PrimitiveDataoperator= (const PrimitiveData &rhs)=default
 
 PrimitiveData () noexcept=default
 
 PrimitiveData (PrimitiveData &&rhs) noexcept=default
 
 PrimitiveData (const PrimitiveData &rhs)=default
 
 PrimitiveData (Id id, AttributeMap attributes=AttributeMap())
 Constructs a PrimitiveData object. More...
 

Public Attributes

AttributeMap attributes
 attributes of this primitive More...
 
Id id {InvalId}
 Id of this primitive (unique across one map) More...
 

Protected Member Functions

 ~PrimitiveData ()=default
 

Detailed Description

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.

Definition at line 31 of file Primitive.h.

Constructor & Destructor Documentation

◆ PrimitiveData() [1/4]

lanelet::PrimitiveData::PrimitiveData ( )
defaultnoexcept

◆ PrimitiveData() [2/4]

lanelet::PrimitiveData::PrimitiveData ( PrimitiveData &&  rhs)
defaultnoexcept

◆ PrimitiveData() [3/4]

lanelet::PrimitiveData::PrimitiveData ( const PrimitiveData rhs)
default

◆ PrimitiveData() [4/4]

lanelet::PrimitiveData::PrimitiveData ( Id  id,
AttributeMap  attributes = AttributeMap() 
)
inlineexplicit

Constructs a PrimitiveData object.

Definition at line 42 of file Primitive.h.

◆ ~PrimitiveData()

lanelet::PrimitiveData::~PrimitiveData ( )
protecteddefault

Member Function Documentation

◆ operator=() [1/2]

PrimitiveData& lanelet::PrimitiveData::operator= ( PrimitiveData &&  rhs)
defaultnoexcept

◆ operator=() [2/2]

PrimitiveData& lanelet::PrimitiveData::operator= ( const PrimitiveData rhs)
default

Member Data Documentation

◆ attributes

AttributeMap lanelet::PrimitiveData::attributes

attributes of this primitive

Definition at line 45 of file Primitive.h.

◆ id

Id lanelet::PrimitiveData::id {InvalId}

Id of this primitive (unique across one map)

Definition at line 44 of file Primitive.h.


The documentation for this class was generated from the following file:


lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Tue Jun 6 2023 02:23:33