|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
#include <LayeredDataSource.hpp>
Public Member Functions | |
| std::size_t | overrideCount () const noexcept |
| bool | overrides (DataId id) const noexcept |
| std::expected< ArchiveItemMetadata, DataError > | metadata (DataId id) const override |
| std::expected< LegacyDataType, DataError > | initialDataType (DataId id) const override |
| std::expected< std::uint32_t, DataError > | initialSize (DataId id) const override |
| std::expected< std::uint32_t, DataError > | loadedRawSize (DataId id) const override |
| std::expected< SharedDataBytes, DataError > | load (DataId id) const override |
| std::expected< std::size_t, DataError > | readRaw (DataId id, std::span< std::byte > destination, std::uint32_t startOffset=0) const override |
| std::expected< bool, DataError > | isLoaded (DataId id) const override |
Public Member Functions inherited from monopoly::data::DataSource | |
| virtual | ~DataSource ()=default |
Static Public Member Functions | |
| static std::expected< std::shared_ptr< const LayeredDataSource >, DataError > | create (std::shared_ptr< const DataSource > fallback, std::span< const DataSourceOverride > overrides) |
Definition at line 22 of file LayeredDataSource.hpp.
|
static |
Definition at line 63 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 164 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 173 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 234 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 193 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 183 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 143 of file LayeredDataSource.cpp.
|
noexcept |
Definition at line 113 of file LayeredDataSource.cpp.
Definition at line 119 of file LayeredDataSource.cpp.
|
overridevirtual |
Implements monopoly::data::DataSource.
Definition at line 202 of file LayeredDataSource.cpp.