Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::data::BitmapRuntimeCache Class Referencefinal

#include <BitmapRuntime.hpp>

Public Member Functions

std::expected< std::shared_ptr< const BitmapRuntimeAsset >, BitmapError > resolve (DataId id, LegacyDataType sourceType, SharedDataBytes bytes)
 
std::size_t releaseUnused () noexcept
 
void clear () noexcept
 
std::size_t size () const noexcept
 

Detailed Description

Definition at line 24 of file BitmapRuntime.hpp.

Member Function Documentation

◆ clear()

void monopoly::data::BitmapRuntimeCache::clear ( )
inlinenoexcept

Definition at line 32 of file BitmapRuntime.hpp.

◆ releaseUnused()

std::size_t monopoly::data::BitmapRuntimeCache::releaseUnused ( )
noexcept

Definition at line 4 of file BitmapRuntime.cpp.

◆ resolve()

std::expected< std::shared_ptr< const BitmapRuntimeAsset >, BitmapError > monopoly::data::BitmapRuntimeCache::resolve ( DataId  id,
LegacyDataType  sourceType,
SharedDataBytes  bytes 
)

Definition at line 11 of file BitmapRuntime.cpp.

◆ size()

std::size_t monopoly::data::BitmapRuntimeCache::size ( ) const
inlinenoexcept

Definition at line 33 of file BitmapRuntime.hpp.


The documentation for this class was generated from the following files: