template<typename BaseType = float>
meos::TInstantSet class

Set of TInstant objects.

Base classes

template<typename BaseType = float>
class TemporalSet<float>
Base class for TInstantSet and TSequence.

Constructors, destructors, conversion operators

TInstantSet()
TInstantSet(std::set<TInstant<BaseType>> const& instants)
TInstantSet(std::set<std::string> const& instants)
TInstantSet(std::string const& serialized)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TInstantSet(std::set<TInstant<BaseType>> const& instants, int srid)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TInstantSet(std::set<std::string> const& instants, int srid)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TInstantSet(std::string const& serialized, int srid)

Public functions

auto compare(Temporal<BaseType> const& other) const -> int override
auto clone() const -> std::unique_ptr<TInstantSet<BaseType>>
auto duration() const -> TemporalDuration override
auto timespan() const -> duration_ms override
auto getValues() const -> std::set<Range<BaseType>> override
auto getTime() const -> PeriodSet override
auto period() const -> Period override
auto shift(duration_ms const timedelta) const -> std::unique_ptr<TInstantSet<BaseType>>
auto shift_impl(duration_ms const timedelta) const -> TInstantSet<BaseType>* override
auto intersectsTimestamp(time_point const datetime) const -> bool override
Does the temporal value intersect the timestamp?
auto intersectsPeriod(Period const period) const -> bool override
Does the temporal value intersect the period?
auto read(std::istream& in) -> std::istream&
auto write(std::ostream& os) const -> std::ostream&

Friends

auto operator>>(std::istream& in, TInstantSet& instant_set) -> std::istream&
auto operator<<(std::ostream& os, TInstantSet<BaseType> const& instant_set) -> std::ostream&