class
#include <meos/types/time/TimestampSet.hpp>
TimestampSet Set of one or more time_
Contents
Constructors, destructors, conversion operators
- TimestampSet()
-
TimestampSet(std::set<time_
point>& timestamps) - TimestampSet(std::set<std::string>& timestamps)
- TimestampSet(std::string const& serialized)
Public functions
- 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<TimestampSet> -
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
-
std::set<time_
point> m_timestamps
Friends
- auto operator==(TimestampSet const& lhs, TimestampSet const& rhs) -> bool
- auto operator!=(TimestampSet const& lhs, TimestampSet const& rhs) -> bool
- auto operator<(TimestampSet const& lhs, TimestampSet const& rhs) -> bool
- auto operator>(TimestampSet const& lhs, TimestampSet const& rhs) -> bool
- auto operator>=(TimestampSet const& lhs, TimestampSet const& rhs) -> bool
- auto operator<=(TimestampSet const& lhs, TimestampSet const& rhs) -> bool
- auto operator>>(std::istream& in, TimestampSet& timestamp_set) -> std::istream&
- auto operator<<(std::ostream& os, TimestampSet const& timestamp_set) -> std::ostream&