alaCarte Maps
Renderer for OpenStreetMap tiles
|
Classes | |
struct | Hasher |
Hasher for the StringStorageElement. More... | |
struct | StringComparator |
Comparator for comparing STringStorageELements with strings. More... | |
Public Member Functions | |
StringStorageElement (const string &str) | |
Creates a new StringStorageELement. More... | |
StringStorageElement (const StringStorageElement &other) | |
Creates a new StringStorageELement from another. More... | |
bool | operator== (const StringStorageElement &other) const |
This file is part of alaCarte. More... | |
Public Attributes | |
const string | value |
const std::size_t | hash |
Definition at line 45 of file cached_string.hpp.
CachedString::StringStorageElement::StringStorageElement | ( | const string & | str | ) |
Creates a new StringStorageELement.
str | string for this element |
Definition at line 73 of file cached_string.cpp.
CachedString::StringStorageElement::StringStorageElement | ( | const StringStorageElement & | other | ) |
Creates a new StringStorageELement from another.
other | element to be copied |
Definition at line 85 of file cached_string.cpp.
bool CachedString::StringStorageElement::operator== | ( | const StringStorageElement & | other | ) | const |
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 Compares two StringStorageElements
Definition at line 36 of file cached_string.cpp.
const std::size_t CachedString::StringStorageElement::hash |
Definition at line 51 of file cached_string.hpp.
const string CachedString::StringStorageElement::value |
Definition at line 50 of file cached_string.hpp.