Template Class Trajectory::base_iterator¶
Defined in File Trajectory.hpp
Nested Relationships¶
This class is a nested type of Class Trajectory.
Class Documentation¶
-
template<typename
W
>
classrmf_traffic::Trajectory
::
base_iterator
Public Functions
-
W &
operator*
() const Dereference operator.
-
W *
operator->
() const Drill-down operator.
-
base_iterator &
operator++
() Pre-increment operator: ++it
- Note
This is more efficient than the post-increment operator.
- Return
a reference to the iterator that was operated on
-
base_iterator &
operator--
() Pre-decrement operator: it
- Note
This is more efficient than the post-decrement operator
- Return
a reference to the iterator that was operated on
-
base_iterator
operator++
(int) Post-increment operator: it++
- Return
a copy of the iterator before it was incremented
-
base_iterator
operator--
(int) Post-decrement operator: it
- Return
a copy of the iterator before it was decremented
-
bool
operator==
(const base_iterator &other) const Equality comparison operator.
-
bool
operator!=
(const base_iterator &other) const Inequality comparison operator.
-
bool
operator<
(const base_iterator &other) const Less-than comparison operator (the left-hand side is earlier in the trajectory than the right-hand side)
-
bool
operator>
(const base_iterator &other) const Greater-than comparison operator (the left-hand side is later in the trajectory than the right-hand side)
-
bool
operator<=
(const base_iterator &other) const Less-than-or-equal comparison operator.
-
bool
operator>=
(const base_iterator &other) const Greater-than-or-equal comparison operator.
-
operator const_iterator
() const
-
base_iterator
(const base_iterator &other) = default
-
base_iterator
(base_iterator &&other) = default
-
base_iterator &
operator=
(const base_iterator &other) = default
-
base_iterator &
operator=
(base_iterator &&other) = default
-
base_iterator
()
Friends
- friend class internal::TrajectoryIteratorImplementation
-
W &