|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <TimeList.hpp>
Public 类型 | |
| using | iterator_category = std::random_access_iterator_tag |
| using | value_type = TimePoint |
| using | difference_type = std::ptrdiff_t |
| using | pointer = const TimePoint* |
| using | reference = TimePoint |
Public 成员函数 | |
| const_iterator (const double *data, const TimePoint *epoch) | |
| TimePoint | operator* () const |
| TimePoint | 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 |
随机访问常量迭代器
内部持有秒偏移量指针和历元指针, 解引用时计算 epoch_->shiftedBySecond(*data_) 并返回 TimePoint。