template<typename BaseType = float>
TInstantSet class
Set of TInstant objects.
Contents
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_TInstantSet(std::set<TInstant<BaseType>> const& instants, int srid)
geometry<B>::type* = nullptr> -
template<typename B = BaseType, typename is_TInstantSet(std::set<std::string> const& instants, int srid)
geometry<B>::type* = nullptr> -
template<typename B = BaseType, typename is_TInstantSet(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<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&