struct describing a line in a linkdata file of antares
More...
#include <LinkdataRecord.h>
struct describing a line in a linkdata file of antares
◆ LinkdataRecord()
LinkdataRecord::LinkdataRecord |
( |
const FileColumns & | afileColumns | ) |
|
|
explicit |
◆ fillFromRow()
void LinkdataRecord::fillFromRow |
( |
std::string const & | line_p | ) |
|
populates the LinkdataRecord attributes for a string
- Parameters
-
line_p | : string describing the record |
◆ to_row()
std::string LinkdataRecord::to_row |
( |
std::string const & | sep_p | ) |
const |
returns a one-line string describing the LinkdataRecord
- Parameters
-
sep_p | : delimiter used to separate record's attributes in the created line string |
◆ updateCapacities()
void LinkdataRecord::updateCapacities |
( |
double | directCapacity_p, |
|
|
double | indirectCapacity_p ) |
update the capacities of the LinkdataRecord
- Parameters
-
directCapacity_p | : value to set to fileColumns.directCapacity_ |
indirectCapacity_p | : value to set to fileColumns.indirectCapacity_ |
The documentation for this struct was generated from the following files:
- src/cpp/lpnamer/problem_modifier/include/antares-xpansion/lpnamer/problem_modifier/LinkdataRecord.h
- src/cpp/lpnamer/problem_modifier/LinkdataRecord.cpp