Public Member Functions | Public Attributes | List of all members
lanelet::osm::Primitive Struct Referenceabstract

Common abstract base class for all osm primitives. Provides id and attributes. More...

#include <OsmFile.h>

Inheritance diagram for lanelet::osm::Primitive:
Inheritance graph
[legend]

Public Member Functions

Primitiveoperator= (const Primitive &rhs)=delete
 
Primitiveoperator= (Primitive &&rhs) noexcept=default
 
 Primitive ()=default
 
 Primitive (const Primitive &rhs)=delete
 
 Primitive (Id id, Attributes attributes)
 
 Primitive (Primitive &&rhs) noexcept=default
 
virtual std::string type ()=0
 
virtual ~Primitive ()=default
 

Public Attributes

Attributes attributes
 
Id id {0}
 

Detailed Description

Common abstract base class for all osm primitives. Provides id and attributes.

Definition at line 23 of file OsmFile.h.

Constructor & Destructor Documentation

◆ Primitive() [1/4]

lanelet::osm::Primitive::Primitive ( )
default

◆ Primitive() [2/4]

lanelet::osm::Primitive::Primitive ( Primitive &&  rhs)
defaultnoexcept

◆ Primitive() [3/4]

lanelet::osm::Primitive::Primitive ( const Primitive rhs)
delete

◆ ~Primitive()

virtual lanelet::osm::Primitive::~Primitive ( )
virtualdefault

◆ Primitive() [4/4]

lanelet::osm::Primitive::Primitive ( Id  id,
Attributes  attributes 
)
inline

Definition at line 30 of file OsmFile.h.

Member Function Documentation

◆ operator=() [1/2]

Primitive& lanelet::osm::Primitive::operator= ( const Primitive rhs)
delete

◆ operator=() [2/2]

Primitive& lanelet::osm::Primitive::operator= ( Primitive &&  rhs)
defaultnoexcept

◆ type()

virtual std::string lanelet::osm::Primitive::type ( )
pure virtual

Member Data Documentation

◆ attributes

Attributes lanelet::osm::Primitive::attributes

Definition at line 34 of file OsmFile.h.

◆ id

Id lanelet::osm::Primitive::id {0}

Definition at line 33 of file OsmFile.h.


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


lanelet2_io
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:03