Definition at line 16 of file operations_encrypted.hpp.
|
| | EncryptedWriter (std::string filename, const SecretKey &secret_key, boost::filesystem::perms, tracing::ScopeTime &scope) |
| | Creates a new dump file and opens it.
|
| |
| void | Finish () override |
| | Must be called once all data has been written.
|
| |
| template<typename T> |
| void | Write (const T &data) |
| | Writes binary data.
|
| |
◆ EncryptedWriter()
| dump::EncryptedWriter::EncryptedWriter |
( |
std::string | filename, |
|
|
const SecretKey & | secret_key, |
|
|
boost::filesystem::perms | , |
|
|
tracing::ScopeTime & | scope ) |
Creates a new dump file and opens it.
- Exceptions
-
| `Error` | on a filesystem error |
◆ Finish()
| void dump::EncryptedWriter::Finish |
( |
| ) |
|
|
overridevirtual |
Must be called once all data has been written.
- Warning
- This method must not be called from within
Write/Read
- Exceptions
-
| `Error` | on write operation failure |
Implements dump::Writer.
◆ Write()
template<typename T>
| void dump::Writer::Write |
( |
const T & | data | ) |
|
|
inherited |
Writes binary data.
Calls ADL-found Write(writer, data)
- Exceptions
-
| `Error` | and any user-thrown std::exception |
Definition at line 98 of file operations.hpp.
The documentation for this class was generated from the following file: