CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
std::hash< carta::TileCacheKey > Struct Reference

Hash for carta::TileCacheKey. More...

#include <TileCacheKey.h>

Public Member Functions

std::size_t operator() (const carta::TileCacheKey &k) const
 The operator which calculates the hash.
 

Detailed Description

Hash for carta::TileCacheKey.

This allows carta::TileCacheKey to be used as a key in the unordered map in carta::TileCache.

See also
carta::TileCacheKey

Member Function Documentation

◆ operator()()

std::size_t std::hash< carta::TileCacheKey >::operator() ( const carta::TileCacheKey k) const
inline

The operator which calculates the hash.

Parameters
kThe key
Returns
The key hash

The hash is calculated from the hashes of the coordinates of the key.


The documentation for this struct was generated from the following file: