![]() |
alaCarte Maps
Renderer for OpenStreetMap tiles
|
#include <relation.hpp>
Public Member Functions | |
| Relation ()=default | |
| Relation (const Relation &other)=default | |
| Relation (Relation &&other)=default | |
| Relation (const std::vector< NodeId > &nodeIDs, const DataMap< NodeId, CachedString > &nodeRoles, const std::vector< WayId > &wayIDs, const DataMap< WayId, CachedString > &wayRoles, const DataMap< CachedString, CachedString > &tags) | |
| This file is part of alaCarte. More... | |
| virtual | ~Relation ()=default |
| TESTABLE const std::vector< WayId > & | getWayIDs () const |
| TESTABLE const std::vector< NodeId > & | getNodeIDs () const |
| TESTABLE const CachedString & | getWayRole (WayId id) const |
| TESTABLE const CachedString & | getNodeRole (NodeId id) 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< NodeId > | nodeIDs |
| std::vector< WayId > | wayIDs |
| DataMap< NodeId, CachedString > | nodeRoles |
| DataMap< WayId, CachedString > | wayRoles |
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) |
Definition at line 31 of file relation.hpp.
|
default |
|
default |
|
default |
| Relation::Relation | ( | const std::vector< NodeId > & | nodeIDs, |
| const DataMap< NodeId, CachedString > & | nodeRoles, | ||
| const std::vector< WayId > & | wayIDs, | ||
| const DataMap< WayId, CachedString > & | wayRoles, | ||
| const DataMap< CachedString, CachedString > & | tags | ||
| ) |
This file is part of alaCarte.
alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
alaCarte is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.
Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Lisa Winter
Definition at line 26 of file relation.cpp.
|
virtualdefault |
| const std::vector< NodeId > & Relation::getNodeIDs | ( | ) | const |
Definition at line 44 of file relation.cpp.
| const CachedString & Relation::getNodeRole | ( | NodeId | id | ) | const |
Definition at line 55 of file relation.cpp.
| const std::vector< WayId > & Relation::getWayIDs | ( | ) | const |
Definition at line 39 of file relation.cpp.
| const CachedString & Relation::getWayRole | ( | WayId | id | ) | const |
Definition at line 49 of file relation.cpp.
|
inlineprivate |
Definition at line 52 of file relation.hpp.
|
friend |
Definition at line 34 of file relation.hpp.
|
private |
Definition at line 61 of file relation.hpp.
|
private |
Definition at line 63 of file relation.hpp.
|
private |
Definition at line 62 of file relation.hpp.
|
private |
Definition at line 64 of file relation.hpp.