RhythmGame 1.4.3
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
resource_managers::SongAssetStore::Impl Class Reference

Classes

struct  LocatedContainer
 
struct  LocatedEntry
 

Public Member Functions

 Impl (std::filesystem::path materializationDirectory)
 
auto physicalArchive (const std::filesystem::path &path) const -> std::shared_ptr< IndexedZipArchive >
 
auto materializeEntry (const std::shared_ptr< IndexedZipArchive > &archive, const zip_uint64_t index, const std::filesystem::path &virtualPath, const std::atomic_bool *stop=nullptr) const -> std::filesystem::path
 
auto locateContainer (const std::filesystem::path &virtualDirectory, const std::atomic_bool *stop=nullptr) const -> std::optional< LocatedContainer >
 
auto locateEntry (const std::filesystem::path &virtualPath, const std::atomic_bool *stop=nullptr) const -> std::optional< LocatedEntry >
 

Constructor & Destructor Documentation

◆ Impl()

resource_managers::SongAssetStore::Impl::Impl ( std::filesystem::path  materializationDirectory)
inlineexplicit

Member Function Documentation

◆ locateContainer()

auto resource_managers::SongAssetStore::Impl::locateContainer ( const std::filesystem::path &  virtualDirectory,
const std::atomic_bool *  stop = nullptr 
) const -> std::optional<LocatedContainer>
inline

◆ locateEntry()

auto resource_managers::SongAssetStore::Impl::locateEntry ( const std::filesystem::path &  virtualPath,
const std::atomic_bool *  stop = nullptr 
) const -> std::optional<LocatedEntry>
inline

◆ materializeEntry()

auto resource_managers::SongAssetStore::Impl::materializeEntry ( const std::shared_ptr< IndexedZipArchive > &  archive,
const zip_uint64_t  index,
const std::filesystem::path &  virtualPath,
const std::atomic_bool *  stop = nullptr 
) const -> std::filesystem::path
inline

◆ physicalArchive()

auto resource_managers::SongAssetStore::Impl::physicalArchive ( const std::filesystem::path &  path) const -> std::shared_ptr<IndexedZipArchive>
inline

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