#include <meos/types/temporal/TSequence.hpp>
template<typename BaseType = float>
TSequence class
Set of TInstant objects, with exclusive/inclusive bounds and Interpolation.
Contents
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_TSequence(std::set<TInstant<BaseType>>& instants_, bool lower_inc = true, bool upper_inc = false, int srid = SRID_
geometry<B>::type* = nullptr> DEFAULT, Interpolation interpolation = default_ interp_ v<BaseType>) -
template<typename B = BaseType, typename is_TSequence(std::set<std::string> const& instants, bool lower_inc = true, bool upper_inc = false, int srid = SRID_
geometry<B>::type* = nullptr> DEFAULT, Interpolation interpolation = default_ interp_ v<BaseType>) -
template<typename B = BaseType, typename is_TSequence(std::string const& serialized, int srid)
geometry<B>::type* = nullptr>
Public functions
-
template<typename B = BaseType, typename is_auto with_srid(int srid) const -> TSequence<BaseType>
geometry<B>::type* = nullptr> - 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&