|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <TimeIntervalList.hpp>
Public 类型 | |
| using | iterator_category = std::random_access_iterator_tag |
| using | value_type = TimeInterval |
| using | difference_type = std::ptrdiff_t |
| using | pointer = const TimeInterval* |
| using | reference = TimeInterval |
Public 成员函数 | |
| const_iterator (const Interval *data, const TimePoint *epoch) | |
| TimeInterval | operator* () const |
| TimeInterval | operator[] (difference_type n) const |
| const_iterator & | operator++ () |
| const_iterator | operator++ (int) |
| const_iterator & | operator-- () |
| const_iterator | operator-- (int) |
| const_iterator & | operator+= (difference_type n) |
| const_iterator & | operator-= (difference_type n) |
| const_iterator | operator+ (difference_type n) const |
| const_iterator | operator- (difference_type n) const |
| difference_type | operator- (const const_iterator &o) const |
| bool | operator== (const const_iterator &o) const |
| bool | operator!= (const const_iterator &o) const |
| bool | operator< (const const_iterator &o) const |
| bool | operator> (const const_iterator &o) const |
| bool | operator<= (const const_iterator &o) const |
| bool | operator>= (const const_iterator &o) const |
随机访问常量迭代器
内部持有相对区间指针和历元指针, 解引用时计算 TimeInterval(epoch + data_->start_, epoch + data_->stop_) 并返回。