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>
class 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.
- Returns:
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
- Returns:
a reference to the iterator that was operated on
-
base_iterator operator++(int)
Post-increment operator: it++
- Returns:
a copy of the iterator before it was incremented
-
base_iterator operator--(int)
Post-decrement operator: it—
- Returns:
a copy of the iterator before it was decremented
-
base_iterator operator+(int offset) const
Get the iterator that would be offset from this one by the specified amount
-
base_iterator operator-(int offset) const
Get the iterator that would be offset from this one by the specified amount in the opposite direction.
-
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 &operator*() const