template<typename BaseType = float>
TSequenceSet class
Set of TSequence objects.
Contents
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_TSequenceSet(std::set<TSequence<BaseType>> const& sequences, int srid, Interpolation interpolation = default_
geometry<B>::type* = nullptr> interp_ v<BaseType>) -
template<typename B = BaseType, typename is_TSequenceSet(std::set<std::string> const& sequences, int srid, Interpolation interpolation = default_
geometry<B>::type* = nullptr> interp_ v<BaseType>) -
template<typename B = BaseType, typename is_TSequenceSet(std::string const& serialized, int srid)
geometry<B>::type* = nullptr>
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&