#include <carray.h>
Public 型 | |
| typedef std::random_access_iterator_tag | iterator_category |
| typedef T | value_type |
| typedef int | difference_type |
| typedef T * | pointer |
| typedef T & | reference |
Public メソッド | |
| CArrayIterator (T *p) | |
| CArrayIterator (const CArrayIterator< typename boost::remove_cv< T >::type > &src) | |
| T & | operator* () const |
| T * | operator-> () const |
| CArrayIterator & | operator+= (int diff) |
| CArrayIterator & | operator-= (int diff) |
| CArrayIterator & | operator++ () |
| CArrayIterator | operator++ (int) |
| CArrayIterator & | operator-- () |
| CArrayIterator | operator-- (int) |
Public 変数 | |
| T * | ptr |
Private メソッド | |
| operator bool () | |
CArray の iterator.
単純にT*を使うと, if (iter == end()) と書くべきところで ポインタのつもりで if (iter) と書いてしまっても気付けないため. TODO: boost にない?
| typedef int osl::misc::CArrayIterator< T >::difference_type |
| typedef std::random_access_iterator_tag osl::misc::CArrayIterator< T >::iterator_category |
| typedef T* osl::misc::CArrayIterator< T >::pointer |
| typedef T& osl::misc::CArrayIterator< T >::reference |
| typedef T osl::misc::CArrayIterator< T >::value_type |
| osl::misc::CArrayIterator< T >::CArrayIterator | ( | T * | p | ) | [inline] |
| osl::misc::CArrayIterator< T >::CArrayIterator | ( | const CArrayIterator< typename boost::remove_cv< T >::type > & | src | ) | [inline] |
| osl::misc::CArrayIterator< T >::operator bool | ( | ) | [private] |
| T& osl::misc::CArrayIterator< T >::operator* | ( | ) | const [inline] |
| CArrayIterator osl::misc::CArrayIterator< T >::operator++ | ( | int | ) | [inline] |
| CArrayIterator& osl::misc::CArrayIterator< T >::operator++ | ( | ) | [inline] |
| CArrayIterator& osl::misc::CArrayIterator< T >::operator+= | ( | int | diff | ) | [inline] |
| CArrayIterator osl::misc::CArrayIterator< T >::operator-- | ( | int | ) | [inline] |
| CArrayIterator& osl::misc::CArrayIterator< T >::operator-- | ( | ) | [inline] |
| CArrayIterator& osl::misc::CArrayIterator< T >::operator-= | ( | int | diff | ) | [inline] |
| T* osl::misc::CArrayIterator< T >::operator-> | ( | ) | const [inline] |
| T* osl::misc::CArrayIterator< T >::ptr |
1.6.3