Loading [MathJax]/extensions/tex2jax.js
Antares Simulator
Power System Simulator
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages Concepts
Antares::Solver::IResultWriter Class Referenceabstract
Inheritance diagram for Antares::Solver::IResultWriter:
Antares::Solver::ImmediateFileResultWriter Antares::Solver::InMemoryWriter Antares::Solver::NullResultWriter Antares::Solver::ZipWriter

Public Types

using Ptr = std::shared_ptr<IResultWriter>
 

Public Member Functions

virtual void addEntryFromBuffer (const std::string &entryPath, Yuni::Clob &entryContent)=0
 
virtual void addEntryFromBuffer (const std::filesystem::path &entryPath, std::string &entryContent)=0
 
virtual void addEntryFromFile (const std::filesystem::path &entryPath, const std::filesystem::path &filePath)=0
 
virtual void flush ()=0
 
virtual bool needsTheJobQueue () const =0
 
virtual void finalize (bool verbose)=0
 

Member Function Documentation

◆ flush()

virtual void Antares::Solver::IResultWriter::flush ( )
pure virtual

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

Implemented in Antares::Solver::ImmediateFileResultWriter, Antares::Solver::InMemoryWriter, and Antares::Solver::ZipWriter.


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