Welcome to the new CppUtils documentation!
CppUtils::FileSystem::IndexedStorage
CLASSPublic types
Section titled “Public types”using CppUtils::FileSystem::IndexedStorage::Entry = IndexedStorageEntry;FreeBlock
Section titled “FreeBlock”using CppUtils::FileSystem::IndexedStorage::FreeBlock = IndexedStorageFreeBlock;IndexMap
Section titled “IndexMap”using CppUtils::FileSystem::IndexedStorage::IndexMap = std::unordered_map<std::size_t, Entry>;FreeList
Section titled “FreeList”using CppUtils::FileSystem::IndexedStorage::FreeList = std::multimap<std::size_t, FreeBlock>;Public methods & functions
Section titled “Public methods & functions”explicit IndexedStorage::IndexedStorage(std::filesystem::path directory, std::optional<std::size_t> maxChunkSize = std::nullopt);template <Type::Serializable T>[[nodiscard]] auto IndexedStorage::load(std::size_t id) const -> std::expected<T, std::string_view>;