alaCarte Maps
Renderer for OpenStreetMap tiles
Node Class Reference

#include <node.hpp>

Inheritance diagram for Node:
GeoObject

Public Member Functions

 Node ()=default
 
 Node (const Node &other)=default
 
 Node (Node &&other)=default
 
 Node (const FloatPoint &location, const DataMap< CachedString, CachedString > &tags)
 This file is part of alaCarte. More...
 
virtual ~Node ()=default
 
TESTABLE const FixedPointgetLocation () 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

FixedPoint location
 

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 28 of file node.hpp.

Constructor & Destructor Documentation

Node::Node ( )
default
Node::Node ( const Node other)
default
Node::Node ( Node &&  other)
default
Node::Node ( const FloatPoint sphereLocation,
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 36 of file node.cpp.

virtual Node::~Node ( )
virtualdefault

Member Function Documentation

const FixedPoint & Node::getLocation ( ) const

Definition at line 43 of file node.cpp.

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

Definition at line 42 of file node.hpp.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 31 of file node.hpp.

Member Data Documentation

FixedPoint Node::location
private

Definition at line 47 of file node.hpp.


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