iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::AesGcmOutputFile Class Reference

An OutputFile that writes an AGS1 file. More...

#include <aes_gcm_stream.h>

Inheritance diagram for iceberg::AesGcmOutputFile:
iceberg::OutputFile

Public Member Functions

 AesGcmOutputFile (std::unique_ptr< OutputFile > target, std::vector< uint8_t > key, std::vector< uint8_t > aad_prefix)
 
std::string_view location () const override
 File location represented by this handle.
 
Result< std::unique_ptr< PositionOutputStream > > Create () override
 Create a new output stream and fail if the file already exists.
 
Result< std::unique_ptr< PositionOutputStream > > CreateOrOverwrite () override
 Create a new output stream, replacing any existing file.
 

Detailed Description

An OutputFile that writes an AGS1 file.

Member Function Documentation

◆ Create()

Result< std::unique_ptr< PositionOutputStream > > iceberg::AesGcmOutputFile::Create ( )
overridevirtual

Create a new output stream and fail if the file already exists.

Implements iceberg::OutputFile.

◆ CreateOrOverwrite()

Result< std::unique_ptr< PositionOutputStream > > iceberg::AesGcmOutputFile::CreateOrOverwrite ( )
overridevirtual

Create a new output stream, replacing any existing file.

Implements iceberg::OutputFile.

◆ location()

std::string_view iceberg::AesGcmOutputFile::location ( ) const
inlineoverridevirtual

File location represented by this handle.

Implements iceberg::OutputFile.


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