Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Solver::InMemoryWriter Class Reference
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::string &entryPath, Yuni::Clob &entryContent) override
 
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
 
- Public Member Functions inherited from Antares::Solver::IResultWriter

Member Function Documentation

◆ addEntryFromBuffer() [1/2]

void Antares::Solver::InMemoryWriter::addEntryFromBuffer ( const std::filesystem::path & entryPath,
std::string & entryContent )
overridevirtual

◆ addEntryFromBuffer() [2/2]

void Antares::Solver::InMemoryWriter::addEntryFromBuffer ( const std::string & entryPath,
Yuni::Clob & entryContent )
overridevirtual

◆ addEntryFromFile()

void Antares::Solver::InMemoryWriter::addEntryFromFile ( const std::filesystem::path & entryPath,
const std::filesystem::path & filePath )
overridevirtual

◆ finalize()

void Antares::Solver::InMemoryWriter::finalize ( bool verbose)
overridevirtual

◆ flush()

void Antares::Solver::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.

◆ needsTheJobQueue()

bool Antares::Solver::InMemoryWriter::needsTheJobQueue ( ) const
overridevirtual

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