Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
JobFileReader Class Referencefinal
Inheritance diagram for JobFileReader:

Public Types

enum  { maxRows = 8800 }
 
using Ptr = std::shared_ptr<JobFileReader>
 The most suitable smart pointer.
 

Static Public Member Functions

static bool RemainJobsToExecute ()
 Get if some jobs remain.
 

Constructor & Destructor

uint year
 The current year (zero-based)
 
DataFile::Ptr datafile
 Data file.
 
Output::Ptr output
 Output.
 
StudyData::Ptr studydata
 Study data.
 
Yuni::String path
 Path.
 
 JobFileReader ()
 Default constructor.
 
virtual ~JobFileReader ()
 Destructor.
 
virtual void onExecute () override
 Execute the job.
 

Member Function Documentation

◆ onExecute()

void JobFileReader::onExecute ( )
overrideprotectedvirtual

Execute the job.

The job consists in reading a single CSV file from one of the numerous 'mc-i<year>' and to keep the results on its reading into the variable 'results' available in the output structure.


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