22 #ifndef NANDRAD_ScheduleH 23 #define NANDRAD_ScheduleH 31 #include "NANDRAD_DailyCycle.h" 32 #include "NANDRAD_CodeGenMacros.h" 115 #endif // NANDRAD_ScheduleH ScheduledDayType m_type
Type of day this schedule is defined for.
bool containsDay(unsigned int dayOfYear) const
Returns true, if given day is inside the start and end date of the schedule.
bool isWholeYearSchedule() const
Returns true if schedule is a whole year schedule (startDay = 0 and endDay = 364).
NANDRAD_READWRITE void prepareCalculation()
Prepares calculation by initializing daily cycles and by collecting names of all scheduled parameters...
ScheduledDayType
Different day types a schedule can be defined for.
Class Schedule defines scheduled parameters in sets of daily cycles.
std::map< std::string, DailyCycle * > m_parameters
All value names provided by all of the daily cycles.
unsigned int m_endDayOfTheYear
End day for the schedule (includes the entire day), if not given, defaults 364 = 31.12.
std::vector< DailyCycle > m_dailyCycles
List of daily cycles that are used on day type specified above.
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...
unsigned int m_startDayOfTheYear
Start day of the year for the schedule, if not given, defaults to 0 = 1.1.