alaCarte Maps
Renderer for OpenStreetMap tiles
tile_identifier.cpp File Reference
#include "general/configuration.hpp"
#include "server/tile_identifier.hpp"
#include "server/stylesheet_manager.hpp"
#include "utils/exceptions.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const TileIdentifier &ti)
 toString method for TileIdentifier (overloading << operator). More...
 
std::size_t hash_value (const TileIdentifier &ti)
 Returns a hash for the TileIdentifier. More...
 
bool operator== (const TileIdentifier &a, const TileIdentifier &b)
 Equals operator for two TileIdentifiers. More...
 

Function Documentation

std::size_t hash_value ( const TileIdentifier ti)

Returns a hash for the TileIdentifier.

Returns
Hash usable for boost::unordered_map.

Definition at line 274 of file tile_identifier.cpp.

std::ostream& operator<< ( std::ostream &  out,
const TileIdentifier ti 
)

toString method for TileIdentifier (overloading << operator).

Parameters
outostream after that the representation is appended.
tiTileIdentifier whose representation shall be appended.
Returns
Returns an ostream with content of out and all attributes of the TileIdentifier.

Definition at line 260 of file tile_identifier.cpp.

bool operator== ( const TileIdentifier a,
const TileIdentifier b 
)

Equals operator for two TileIdentifiers.

Returns
True if TileIdentifiers have equal values.

Definition at line 290 of file tile_identifier.cpp.