YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
成员下标迭代器。 更多...
#include <iterator.hpp>
Public 类型 | |
typedef _tContainer | container_type |
typedef std::random_access_iterator_tag | iterator_category |
typedef _type | value_type |
typedef ptrdiff_t | difference_type |
typedef _type * | pointer |
typedef _type & | reference |
Public 成员函数 | |
subscriptive_iterator (_tContainer &c, size_t i) | |
subscriptive_iterator & | operator+= (difference_type n) |
subscriptive_iterator & | operator-= (difference_type n) |
reference | operator* () |
pointer | operator-> () |
subscriptive_iterator & | operator++ () |
subscriptive_iterator | operator++ (int) |
subscriptive_iterator | operator-- () |
subscriptive_iterator | operator-- (int) |
reference | operator[] (difference_type n) const |
subscriptive_iterator | operator+ (difference_type n) const |
subscriptive_iterator | operator- (difference_type n) const |
_tContainer * | container () const |
bool | equals (const subscriptive_iterator< _tContainer, _type > &i) const |
size_t | index () const |
Protected 属性 | |
_tContainer * | p_cont |
size_t | idx |
成员下标迭代器。
根据指定类型提供的下标操作枚举其成员的随机访问迭代器。
在文件 iterator.hpp 第 810 行定义.
typedef _tContainer ystdex::subscriptive_iterator< _tContainer, _type >::container_type |
在文件 iterator.hpp 第 813 行定义.
typedef ptrdiff_t ystdex::subscriptive_iterator< _tContainer, _type >::difference_type |
在文件 iterator.hpp 第 816 行定义.
typedef std::random_access_iterator_tag ystdex::subscriptive_iterator< _tContainer, _type >::iterator_category |
在文件 iterator.hpp 第 814 行定义.
typedef _type* ystdex::subscriptive_iterator< _tContainer, _type >::pointer |
在文件 iterator.hpp 第 817 行定义.
typedef _type& ystdex::subscriptive_iterator< _tContainer, _type >::reference |
在文件 iterator.hpp 第 818 行定义.
typedef _type ystdex::subscriptive_iterator< _tContainer, _type >::value_type |
在文件 iterator.hpp 第 815 行定义.
|
inline |
在文件 iterator.hpp 第 826 行定义.
参考自 ystdex::subscriptive_iterator< _tContainer, _type >::operator+() , 以及 ystdex::subscriptive_iterator< _tContainer, _type >::operator-().
|
inline |
在文件 iterator.hpp 第 914 行定义.
参考 ystdex::subscriptive_iterator< _tContainer, _type >::p_cont.
|
inline |
在文件 iterator.hpp 第 920 行定义.
参考 ystdex::subscriptive_iterator< _tContainer, _type >::idx , 以及 ystdex::subscriptive_iterator< _tContainer, _type >::p_cont.
参考自 ystdex::operator==().
|
inline |
在文件 iterator.hpp 第 927 行定义.
参考 ystdex::subscriptive_iterator< _tContainer, _type >::idx.
|
inline |
|
inline |
|
inline |
|
inline |
在文件 iterator.hpp 第 865 行定义.
|
inline |
|
inline |
|
inline |
|
inline |
在文件 iterator.hpp 第 880 行定义.
|
inline |
在文件 iterator.hpp 第 838 行定义.
参考 ystdex::subscriptive_iterator< _tContainer, _type >::idx , 以及 yassume.
|
inline |
在文件 iterator.hpp 第 853 行定义.
|
inline |
|
protected |
在文件 iterator.hpp 第 822 行定义.
参考自 ystdex::subscriptive_iterator< _tContainer, _type >::equals(),ystdex::subscriptive_iterator< _tContainer, _type >::index(),ystdex::subscriptive_iterator< _tContainer, _type >::operator*(),ystdex::subscriptive_iterator< _tContainer, _type >::operator+(),ystdex::subscriptive_iterator< _tContainer, _type >::operator++(),ystdex::subscriptive_iterator< _tContainer, _type >::operator+=(),ystdex::subscriptive_iterator< _tContainer, _type >::operator-(),ystdex::subscriptive_iterator< _tContainer, _type >::operator--(),ystdex::subscriptive_iterator< _tContainer, _type >::operator-=() , 以及 ystdex::subscriptive_iterator< _tContainer, _type >::operator[]().
|
protected |
在文件 iterator.hpp 第 821 行定义.
参考自 ystdex::subscriptive_iterator< _tContainer, _type >::container(),ystdex::subscriptive_iterator< _tContainer, _type >::equals(),ystdex::subscriptive_iterator< _tContainer, _type >::operator*(),ystdex::subscriptive_iterator< _tContainer, _type >::operator+(),ystdex::subscriptive_iterator< _tContainer, _type >::operator-() , 以及 ystdex::subscriptive_iterator< _tContainer, _type >::operator[]().