class final
#include <btu/bsa/archive.hpp>
Archive Public types
- using value_type = decltype(files_)::value_type
Public static functions
-
static auto read(Path path) → std::
optional<Archive>
Constructors, destructors, conversion operators
- Archive(ArchiveVersion ver, ArchiveType type)
- Archive(const Archive&) deleted
- Archive(Archive&&) defaulted noexcept
- ~Archive() defaulted
Public functions
- auto begin() → auto noexcept
-
auto emplace(std::
string name, File file) → bool - auto empty() const → bool noexcept
- auto end() → auto noexcept
- auto file_size() const → size_t noexcept
-
auto get(const std::
string& name) → File& - auto operator=(const Archive&) → Archive&=delete
- auto operator=(Archive&&) → Archive&=default noexcept
- void set_version(ArchiveVersion version) noexcept
- auto size() const → size_t noexcept
- auto type() const → ArchiveType noexcept
- auto version() const → ArchiveVersion noexcept
- auto write(Path path) && → bool