22 [[nodiscard]]
constexpr MathSize
grade() const noexcept {
return grade_; }
27 [[nodiscard]]
constexpr YearSize
year() const noexcept {
return year_; }
The WeatherSHIELD score for a specific year.
Definition Score.h:11
constexpr YearSize year() const noexcept
Year this Score is for.
Definition Score.h:27
MathSize grade_
Grade for this year.
Definition Score.h:46
constexpr MathSize average() const noexcept
Average match percentage for the year.
Definition Score.h:17
constexpr Score(const YearSize year, const MathSize average, const MathSize grade) noexcept
Constructor.
Definition Score.h:34
MathSize average_
Average match percentage for the year.
Definition Score.h:42
constexpr MathSize grade() const noexcept
Grade for this year.
Definition Score.h:22
YearSize year_
Year this Score is for.
Definition Score.h:50