alaCarte Maps
Renderer for OpenStreetMap tiles
Way Class Reference

#include <way.hpp>

Inheritance diagram for Way:
GeoObject

Public Member Functions

 Way ()=default
 
 Way (const Way &other)=default
 
 Way (Way &&other)=default
 
 Way (const std::vector< NodeId > &nodeIDs, const DataMap< CachedString, CachedString > &tags)
 
virtual ~Way ()=default
 
const std::vector< NodeId > & getNodeIDs () const
 
bool isClosed () const
 
- Public Member Functions inherited from GeoObject
 GeoObject ()=default
 
 GeoObject (const GeoObject &other)=default
 
 GeoObject (GeoObject &&other)=default
 
 GeoObject (const DataMap< CachedString, CachedString > &tags)
 This file is part of alaCarte. More...
 
virtual ~GeoObject ()=default
 
TESTABLE const DataMap< CachedString, CachedString > & getTags () const
 Returns a map with key-to-tag-mapping for osm-tags. More...
 

Private Member Functions

template<typename Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< NodeIdnodeIDs
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Member Functions inherited from GeoObject
template<typename Archive >
void serialize (Archive &ar, const unsigned int version)
 

Detailed Description

Definition at line 31 of file way.hpp.

Constructor & Destructor Documentation

Way::Way ( )
default
Way::Way ( const Way other)
default
Way::Way ( Way &&  other)
default
Way::Way ( const std::vector< NodeId > &  nodeIDs,
const DataMap< CachedString, CachedString > &  tags 
)
inline

Definition at line 39 of file way.hpp.

virtual Way::~Way ( )
virtualdefault

Member Function Documentation

const std::vector<NodeId>& Way::getNodeIDs ( ) const
inline

Definition at line 45 of file way.hpp.

bool Way::isClosed ( ) const
inline

Definition at line 46 of file way.hpp.

template<typename Archive >
void Way::serialize ( Archive ar,
const unsigned int  version 
)
inlineprivate

Definition at line 50 of file way.hpp.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 34 of file way.hpp.

Member Data Documentation

std::vector<NodeId> Way::nodeIDs
private

Definition at line 56 of file way.hpp.


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