class
#include <meos/types/time/PeriodSet.hpp>
PeriodSet Set of one or more Period objects.
Contents
Constructors, destructors, conversion operators
Public functions
- auto clone() -> std::unique_ptr<PeriodSet>
- auto periods() const -> std::set<Period>
- auto period() const -> Period
- auto numPeriods() const -> size_t
- auto startPeriod() const -> Period
- auto endPeriod() const -> Period
- auto periodN(size_t n) const -> Period
-
auto timespan() const -> duration_
ms -
auto shift(duration_
ms const timedelta) const -> std::unique_ptr<PeriodSet> -
auto timestamps() const -> std::set<time_
point> - auto numTimestamps() const -> size_t
-
auto startTimestamp() const -> time_
point -
auto endTimestamp() const -> time_
point -
auto timestampN(size_t n) const -> time_
point
Protected variables
Friends
- auto operator==(PeriodSet const& lhs, PeriodSet const& rhs) -> bool
- auto operator!=(PeriodSet const& lhs, PeriodSet const& rhs) -> bool
- auto operator<(PeriodSet const& lhs, PeriodSet const& rhs) -> bool
- auto operator>(PeriodSet const& lhs, PeriodSet const& rhs) -> bool
- auto operator>=(PeriodSet const& lhs, PeriodSet const& rhs) -> bool
- auto operator<=(PeriodSet const& lhs, PeriodSet const& rhs) -> bool
- auto operator>>(std::istream& in, PeriodSet& period_set) -> std::istream&
- auto operator<<(std::ostream& os, PeriodSet const& period_set) -> std::ostream&