alaCarte Maps
Renderer for OpenStreetMap tiles
cached_string.hpp File Reference
#include <boost/noncopyable.hpp>
#include <sstream>
#include "settings.hpp"

Go to the source code of this file.

Classes

class  CachedString
 Represents a string which is cached into an internal cache. More...
 
struct  CachedString::StringStorageElement
 
class  MaybeCachedString
 Represents a string which could be cached into an internal cache. More...
 
struct  CachedComparator
 

Macros

#define _CACHED_STRING_HPP
 This file is part of alaCarte. More...
 

Functions

bool operator== (const CachedString &first, const CachedString &second)
 
bool operator== (const CachedString &first, const string &second)
 
bool operator== (const CachedString &first, const MaybeCachedString &second)
 
bool operator== (const string &first, const CachedString &second)
 
bool operator== (const string &first, const MaybeCachedString &second)
 
bool operator== (const MaybeCachedString &first, const string &second)
 
bool operator== (const MaybeCachedString &first, const CachedString &second)
 
bool operator== (const MaybeCachedString &first, const MaybeCachedString &second)
 
bool operator!= (const CachedString &first, const CachedString &second)
 
bool operator!= (const CachedString &first, const string &second)
 
bool operator!= (const CachedString &first, const MaybeCachedString &second)
 
bool operator!= (const string &first, const CachedString &second)
 
bool operator!= (const string &first, const MaybeCachedString &second)
 
bool operator!= (const MaybeCachedString &first, const string &second)
 
bool operator!= (const MaybeCachedString &first, const CachedString &second)
 
bool operator!= (const MaybeCachedString &first, const MaybeCachedString &second)
 
template<typename Stream >
Stream & operator>> (Stream &stream, CachedString &str)
 
template<typename Stream >
Stream & operator<< (Stream &stream, const CachedString &str)
 
std::size_t hash_value (const CachedString &cs)
 
std::size_t hash_value (const MaybeCachedString &mcs)
 

Macro Definition Documentation

#define _CACHED_STRING_HPP

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: Tobias Kahlert

Definition at line 23 of file cached_string.hpp.

Function Documentation

std::size_t hash_value ( const CachedString cs)
inline

Definition at line 229 of file cached_string.hpp.

std::size_t hash_value ( const MaybeCachedString mcs)
inline

Definition at line 234 of file cached_string.hpp.

bool operator!= ( const CachedString first,
const CachedString second 
)
inline

Definition at line 195 of file cached_string.hpp.

bool operator!= ( const CachedString first,
const string second 
)
inline

Definition at line 196 of file cached_string.hpp.

bool operator!= ( const CachedString first,
const MaybeCachedString second 
)
inline

Definition at line 197 of file cached_string.hpp.

bool operator!= ( const string first,
const CachedString second 
)
inline

Definition at line 199 of file cached_string.hpp.

bool operator!= ( const string first,
const MaybeCachedString second 
)
inline

Definition at line 200 of file cached_string.hpp.

bool operator!= ( const MaybeCachedString first,
const string second 
)
inline

Definition at line 202 of file cached_string.hpp.

bool operator!= ( const MaybeCachedString first,
const CachedString second 
)
inline

Definition at line 203 of file cached_string.hpp.

bool operator!= ( const MaybeCachedString first,
const MaybeCachedString second 
)
inline

Definition at line 204 of file cached_string.hpp.

template<typename Stream >
Stream& operator<< ( Stream &  stream,
const CachedString str 
)

Definition at line 219 of file cached_string.hpp.

bool operator== ( const CachedString first,
const CachedString second 
)
inline

Definition at line 180 of file cached_string.hpp.

bool operator== ( const CachedString first,
const string second 
)
inline

Definition at line 181 of file cached_string.hpp.

bool operator== ( const CachedString first,
const MaybeCachedString second 
)
inline

Definition at line 182 of file cached_string.hpp.

bool operator== ( const string first,
const CachedString second 
)
inline

Definition at line 184 of file cached_string.hpp.

bool operator== ( const string first,
const MaybeCachedString second 
)
inline

Definition at line 185 of file cached_string.hpp.

bool operator== ( const MaybeCachedString first,
const string second 
)
inline

Definition at line 187 of file cached_string.hpp.

bool operator== ( const MaybeCachedString first,
const CachedString second 
)
inline

Definition at line 188 of file cached_string.hpp.

bool operator== ( const MaybeCachedString first,
const MaybeCachedString second 
)
inline

Definition at line 189 of file cached_string.hpp.

template<typename Stream >
Stream& operator>> ( Stream &  stream,
CachedString str 
)

Definition at line 211 of file cached_string.hpp.