userver: dump::EncryptedWriter Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
dump::EncryptedWriter Class Referencefinal
+ Inheritance diagram for dump::EncryptedWriter:
+ Collaboration diagram for dump::EncryptedWriter:

Public Member Functions

 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.
 
- Public Member Functions inherited from dump::Writer
template<typename T >
void Write (const T &data)
 Writes binary data.
 

Additional Inherited Members

Detailed Description

Definition at line 16 of file operations_encrypted.hpp.

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

◆ 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.


The documentation for this class was generated from the following file: