boat
C++23 geospatial library
Loading...
Searching...
No Matches
boat::gui::caches::cache Struct Referenceabstract

#include <cache.hpp>

Inheritance diagram for boat::gui::caches::cache:

Public Member Functions

virtual ~cache ()=default
virtual std::any get (any_hashable const &)=0
 Returns an empty std::any on a miss.
virtual void put (any_hashable, std::any)=0

Constructor & Destructor Documentation

◆ ~cache()

virtual boat::gui::caches::cache::~cache ( )
virtualdefault

Member Function Documentation

◆ get()

virtual std::any boat::gui::caches::cache::get ( any_hashable const & )
pure virtual

Returns an empty std::any on a miss.

Implemented in boat::gui::caches::lru.

◆ put()

virtual void boat::gui::caches::cache::put ( any_hashable ,
std::any  )
pure virtual

Implemented in boat::gui::caches::lru.


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