Antares Simulator
Power System Simulator
Antares::Solver::ZipWriter Class Referencefinal
Inheritance diagram for Antares::Solver::ZipWriter:
Antares::Solver::IResultWriter

Public Member Functions

 ZipWriter (std::shared_ptr< Yuni::Job::QueueService > qs, const std::filesystem::path &archivePath, Benchmarking::DurationCollector &duration_collector)
 
void addEntryFromBuffer (const std::filesystem::path &entryPath, std::string &entryContent) override
 
void addEntryFromFile (const std::filesystem::path &entryPath, const std::filesystem::path &filePath) override
 
void flush () override
 
bool needsTheJobQueue () const override
 
void finalize (bool verbose) override
 

Friends

class ZipWriteJob< Yuni::Clob >
 
class ZipWriteJob< std::string >
 

Additional Inherited Members

- Public Types inherited from Antares::Solver::IResultWriter
using Ptr = std::shared_ptr< IResultWriter >
 

Member Function Documentation

◆ flush()

void Antares::Solver::ZipWriter::flush ( )
overridevirtual

Waits for completion of every write operation previously appended. A runtime error may be raised if any of those fails.

Implements Antares::Solver::IResultWriter.


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