#include <MapCache.hpp>
◆ addMap()
void map_cache::addMap |
( |
map_data & |
data | ) |
|
|
inline |
std::map< std::string, map_data > maps
Definition: MapCache.hpp:109
map_info info
Definition: MapCache.hpp:79
char name[12]
Definition: MapCache.hpp:64
References map_data::info, maps, and map_info::name.
◆ getHeader()
mapcache_header _header
Definition: MapCache.hpp:112
References _header.
◆ getMap()
boost::optional< map_data > map_cache::getMap |
( |
std::string |
name | ) |
|
|
inline |
98 {
99 auto it =
maps.find(name);
100
101 if (it !=
maps.end())
102 return boost::optional<map_data>(it->second);
103
104 return boost::optional<map_data>();
105 }
References maps.
◆ getMapCount()
std::size_t map_cache::getMapCount |
( |
| ) |
|
|
inline |
107{
return maps.size(); }
References maps.
◆ removeMap()
void map_cache::removeMap |
( |
std::string & |
name | ) |
|
|
inline |
90 {
91 auto it =
maps.find(name);
92
95 }
References maps.
◆ setHeader()
◆ _header
◆ maps
std::map<std::string, map_data> map_cache::maps |
The documentation for this struct was generated from the following file: