__one_iterator< _Tp > Class Template Reference
[Classes and types for internal use]

make an iterator out of one pointer More...

#include <vgtl_intadapt.h>

List of all members.

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
 standard iterator definitions
typedef ptrdiff_t difference_type
 standard iterator definitions
typedef _Tp value_type
 standard iterator definitions
typedef value_typepointer
 standard iterator definitions
typedef value_typereference
 standard iterator definitions

Public Member Functions

 __one_iterator ()
 standard constructor
 __one_iterator (const value_type *__x)
 standard constructor setting the value
 __one_iterator (const _Self &__x)
 copy constructor
 __one_iterator (const pointer &__v, bool __a)
 constructor, explicitly setting value and iterator position
reference operator* () const
 dereference operator
_Selfoperator++ ()
 standard increment, decrement, and access operators for random access
_Self operator++ (int)
 standard increment, decrement, and access operators for random access
_Selfoperator-- ()
 standard increment, decrement, and access operators for random access
_Self operator-- (int)
 standard increment, decrement, and access operators for random access
_Self operator+ (difference_type __n) const
 standard increment, decrement, and access operators for random access
_Selfoperator+= (difference_type __n)
 standard increment, decrement, and access operators for random access
_Self operator- (difference_type __n) const
 standard increment, decrement, and access operators for random access
_Selfoperator-= (difference_type __n)
 standard increment, decrement, and access operators for random access
reference operator[] (difference_type __n) const
 standard increment, decrement, and access operators for random access
bool operator== (const _Self &__x)
 comparsion operator
bool operator!= (const _Self &__x)
 comparsion operator

Protected Attributes

pointer __value_
 The single value of the 'sequence'.
bool __at
 are we at begin()?


Detailed Description

template<class _Tp>
class __one_iterator< _Tp >

This adaptor takes a pointer to a value of type _Tp and constructs an iterator, which only has two possibilities:

Definition at line 210 of file vgtl_intadapt.h.


The documentation for this class was generated from the following file:

Generated on Tue Feb 9 14:42:18 2010 for Vienna Graph Template Library by  doxygen 1.5.8