Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
WeightsFileReader Class Reference

Classes

class  InvalidYearsWeightNumber
 
class  InvalidYearsWeightValue
 
class  OnlyNullYearsWeightValue
 
class  WeightsFileError
 
class  WeightsFileIsEmtpy
 
class  WeightsFileOpenError
 

Public Member Functions

 WeightsFileReader (const std::filesystem::path &weights_file_path, const size_t number_of_active_years, ProblemGenerationLog::ProblemGenerationLoggerSharedPointer logger)
 
bool CheckWeightsFile ()
 checks that the yearly-weights file exists and has correct format:
 
std::vector< double > WeightsList () const
 

Member Function Documentation

◆ CheckWeightsFile()

bool WeightsFileReader::CheckWeightsFile ( )

checks that the yearly-weights file exists and has correct format:

Returns
true if it's ok

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