Common abstract base class for all osm primitives. Provides id and attributes. More...
#include <OsmFile.h>
Public Member Functions | |
Primitive & | operator= (const Primitive &rhs)=delete |
Primitive & | operator= (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} |
Common abstract base class for all osm primitives. Provides id and attributes.
|
default |
|
defaultnoexcept |
|
delete |
|
virtualdefault |
|
inline |
|
pure virtual |
Implemented in lanelet::osm::Relation, lanelet::osm::Way, and lanelet::osm::Node.
Attributes lanelet::osm::Primitive::attributes |