btu::bsa::Archive class final

Public types

using value_type = decltype(files_)::value_type

Public static functions

static auto read(Path path) →  tl::expected<Archive, common::Error> noexcept
static auto read_fo4(Path path) →  tl::expected<Archive, common::Error> noexcept
static auto read_tes3(Path path) →  tl::expected<Archive, common::Error> noexcept
static auto read_tes4(const Path& path) →  tl::expected<Archive, common::Error> noexcept

Constructors, destructors, conversion operators

Archive(ArchiveVersion ver, ArchiveType type) noexcept
Archive(const Archive&) deleted
Archive(Archive&&) defaulted noexcept
~Archive() defaulted

Public functions

auto begin() →  auto noexcept
auto emplace(std::string name, File file) →  bool noexcept
auto empty() const →  bool noexcept
auto end() →  auto noexcept
auto file_size() const →  size_t noexcept
auto operator=(const Archive&) →  Archive&=delete
auto operator=(Archive&&) →  Archive&=default noexcept
auto set_version(ArchiveVersion version) →  tl::expected<void, common::Error> noexcept
auto size() const →  size_t noexcept
auto type() const →  ArchiveType noexcept
auto version() const →  ArchiveVersion noexcept
auto write(const Path& path) && →  bool noexcept
auto write_fo4(Path path) && →  bool noexcept
auto write_tes3(Path path) && →  bool noexcept
auto write_tes4(Path path) && →  bool noexcept