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

Set of TSequence objects.

Base classes

template<typename BaseType = float>
class Temporal<float>
Base for all the temporal types - TInstant, TInstantSet, TSequence, TSequenceSet.
template<typename TemporalType>
struct TemporalComparators<TSequenceSet<float>>
template<typename TemporalType, typename TInstantType, typename BaseType>
struct TInstantFunctions<TSequenceSet<float>, TInstant<float>, float>

Constructors, destructors, conversion operators

TSequenceSet()
TSequenceSet(std::set<TSequence<BaseType>> const& sequences, Interpolation interpolation = default_interp_v<BaseType>)
TSequenceSet(std::set<std::string> const& sequences, Interpolation interpolation = default_interp_v<BaseType>)
TSequenceSet(std::string const& serialized)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TSequenceSet(std::set<TSequence<BaseType>> const& sequences, int srid, Interpolation interpolation = default_interp_v<BaseType>)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TSequenceSet(std::set<std::string> const& sequences, int srid, Interpolation interpolation = default_interp_v<BaseType>)
template<typename B = BaseType, typename is_geometry<B>::type* = nullptr>
TSequenceSet(std::string const& serialized, int srid)

Public functions

auto compare(Temporal<BaseType> const& other) const -> int override
auto clone() const -> std::unique_ptr<TSequenceSet<BaseType>>
auto duration() const -> TemporalDuration override
auto interpolation() const -> Interpolation
auto sequences() const -> std::set<TSequence<BaseType>>
Set of sequences.
auto numSequences() const -> size_t
Number of distinct sequences.
auto startSequence() const -> TSequence<BaseType>
Start sequence.
auto endSequence() const -> TSequence<BaseType>
End sequence.
auto sequenceN(size_t n) const -> TSequence<BaseType>
N-th distinct sequence.
auto instants() const -> std::set<TInstant<BaseType>>
Set of instants.
auto timespan() const -> duration_ms override
auto getValues() const -> std::set<Range<BaseType>> override
auto timestamps() const -> std::set<time_point> override
auto getTime() const -> PeriodSet override
auto period() const -> Period override
auto shift(duration_ms const timedelta) const -> std::unique_ptr<TSequenceSet<BaseType>>
auto shift_impl(duration_ms const timedelta) const -> TSequenceSet<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, TSequenceSet& sequence_set) -> std::istream&
auto operator<<(std::ostream& os, TSequenceSet<BaseType> const& sequence_set) -> std::ostream&