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

Public Types

using MapType = std::map< std::string, std::string, std::less<> >
 
- Public Types inherited from Antares::Solver::IResultWriter
using Ptr = std::shared_ptr< IResultWriter >
 

Public Member Functions

 InMemoryWriter (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
 
const MapType & getMap () const
 

Member Function Documentation

◆ flush()

void InMemoryWriter::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: