Quick Links: |
#include <bsltf_inputiterator.h>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef TYPE | value_type |
typedef std::ptrdiff_t | difference_type |
typedef TYPE * | pointer |
typedef TYPE & | reference |
Public Member Functions | |
InputIterator () | |
InputIterator (TYPE *ptr) | |
InputIterator & | operator++ () |
InputIterator | operator++ (int) |
pointer | operator-> () const |
reference | operator* () const |
Friends | |
template<class TYPE2 > | |
bool | operator== (const InputIterator< TYPE2 > &, const InputIterator< TYPE2 > &) |
template<class TYPE2 > | |
bool | operator!= (const InputIterator< TYPE2 > &, const InputIterator< TYPE2 > &) |
typedef std::input_iterator_tag bsltf::InputIterator< TYPE >::iterator_category |
typedef TYPE bsltf::InputIterator< TYPE >::value_type |
typedef std::ptrdiff_t bsltf::InputIterator< TYPE >::difference_type |
typedef TYPE* bsltf::InputIterator< TYPE >::pointer |
typedef TYPE& bsltf::InputIterator< TYPE >::reference |
bsltf::InputIterator< TYPE >::InputIterator | ( | ) |
Construct an empty input iterator.
bsltf::InputIterator< TYPE >::InputIterator | ( | TYPE * | ptr | ) | [explicit] |
Construct an input iterator based on the specified ptr
.
InputIterator& bsltf::InputIterator< TYPE >::operator++ | ( | ) |
Increment this iterator to refer to the next contiguous TYPE
object, and return a reference to after the increment. The behavior is undefined if this iterator is empty.
InputIterator bsltf::InputIterator< TYPE >::operator++ | ( | int | ) |
Copy this iterator, increment, and return by value the copy that was made prior to the increment. The behavior is undefined if this iterator is empty.
pointer bsltf::InputIterator< TYPE >::operator-> | ( | ) | const |
Return a pointer to the TYPE
object referred to by this iterator. The behavior is undefined if this iterator is empty.
reference bsltf::InputIterator< TYPE >::operator* | ( | ) | const |
Return a const reference to the TYPE
object referred to by this iterator. The behavior is undefined if this iterator is empty.
bool operator== | ( | const InputIterator< TYPE2 > & | , | |
const InputIterator< TYPE2 > & | ||||
) | [friend] |
bool operator!= | ( | const InputIterator< TYPE2 > & | , | |
const InputIterator< TYPE2 > & | ||||
) | [friend] |