|
Storm 1.11.1.1
A Modern Probabilistic Model Checker
|
#include <ArchiveWriter.h>
Public Member Functions | |
| ArchiveWriter (std::filesystem::path const &filename, CompressionMode const compression) | |
| Create a new archive and open it as a file on disk. | |
| void | addDirectory (std::filesystem::path const &archivePath) |
| Adds a (sub-) directory to the archive. | |
| void | addFile (std::filesystem::path const &archivePath, char const *data, std::size_t const size) |
| Add a file to the archive. | |
| template<detail::ArchiveWritableRange Range, std::endian Endianness = std::endian::little> requires (detail::ArchiveWritableWithoutBuffer<Range, Endianness>) | |
| void | addBinaryFile (std::filesystem::path const &archivePath, Range &&data) |
| Add a file to the archive using a binary encoding of the provided data. | |
| template<detail::ArchiveWritableRange Range, std::endian Endianness = std::endian::little> requires (!detail::ArchiveWritableWithoutBuffer<Range, Endianness> && !std::is_same_v<std::ranges::range_value_t<Range>, bool>) | |
| void | addBinaryFile (std::filesystem::path const &archivePath, Range const &data) |
| Add a file to the archive using a binary encoding of the provided data. | |
| void | addBinaryFile (std::filesystem::path const &archivePath, storm::storage::BitVector const &data) |
| Add a file to the archive using a binary encoding of the provided data. | |
| void | addTextFile (std::filesystem::path const &archivePath, std::string const &data) |
| Add a text file to the archive. | |
Definition at line 43 of file ArchiveWriter.h.
| storm::io::ArchiveWriter::ArchiveWriter | ( | std::filesystem::path const & | filename, |
| CompressionMode const | compression | ||
| ) |
Create a new archive and open it as a file on disk.
Definition at line 33 of file ArchiveWriter.cpp.
|
inline |
Add a file to the archive using a binary encoding of the provided data.
| archivePath | The file’s path inside the archive |
| data | The file contents |
Definition at line 69 of file ArchiveWriter.h.
|
inline |
Add a file to the archive using a binary encoding of the provided data.
| archivePath | The file’s path inside the archive |
| data | The file contents |
Definition at line 81 of file ArchiveWriter.h.
| void storm::io::ArchiveWriter::addBinaryFile | ( | std::filesystem::path const & | archivePath, |
| storm::storage::BitVector const & | data | ||
| ) |
Add a file to the archive using a binary encoding of the provided data.
| archivePath | The file’s path inside the archive |
| data | The file contents |
Definition at line 70 of file ArchiveWriter.cpp.
| void storm::io::ArchiveWriter::addDirectory | ( | std::filesystem::path const & | archivePath | ) |
Adds a (sub-) directory to the archive.
Definition at line 38 of file ArchiveWriter.cpp.
| void storm::io::ArchiveWriter::addFile | ( | std::filesystem::path const & | archivePath, |
| char const * | data, | ||
| std::size_t const | size | ||
| ) |
Add a file to the archive.
| archivePath | The file’s path inside the archive |
| data | The file contents |
Definition at line 59 of file ArchiveWriter.cpp.
| void storm::io::ArchiveWriter::addTextFile | ( | std::filesystem::path const & | archivePath, |
| std::string const & | data | ||
| ) |
Add a text file to the archive.
| archivePath | The file’s path inside the archive |
| data | The file contents |
Definition at line 94 of file ArchiveWriter.cpp.