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

Set of TInstant objects, with exclusive/inclusive bounds and Interpolation.

Base classes

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

Constructors, destructors, conversion operators

TSequence()
TSequence(std::set<TInstant<BaseType>>& instants_, bool lower_inc = true, bool upper_inc = false, Interpolation interpolation = default_interp_v<BaseType>)
TSequence(std::set<std::string> const& instants, bool lower_inc = true, bool upper_inc = false, Interpolation interpolation = default_interp_v<BaseType>)
TSequence(std::string const& serialized)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TSequence(std::set<TInstant<BaseType>>& instants_, bool lower_inc = true, bool upper_inc = false, int srid = SRID_DEFAULT, Interpolation interpolation = default_interp_v<BaseType>)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TSequence(std::set<std::string> const& instants, bool lower_inc = true, bool upper_inc = false, int srid = SRID_DEFAULT, Interpolation interpolation = default_interp_v<BaseType>)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TSequence(std::string const& serialized, int srid)

Public functions

template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
auto with_srid(int srid) const -> TSequence<BaseType>
auto with_interp(Interpolation interpolation) const -> TSequence<BaseType>
auto compare(Temporal<BaseType> const& other) const -> int override
auto clone() const -> std::unique_ptr<TSequence<BaseType>>
auto lower_inc() const -> bool
auto upper_inc() const -> bool
auto duration() const -> TemporalDuration override
auto interpolation() const -> Interpolation
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<TSequence<BaseType>>
auto shift_impl(duration_ms const timedelta) const -> TSequence<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, bool with_interp = true, bool with_srid = true) -> std::istream&
auto write(std::ostream& os, bool with_interp = true, bool with_srid = true) const -> std::ostream&
void validate()

Friends

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