stlab.adobe.com Adobe Systems Incorporated

value_iterator< I, F > Class Template Reference
[Iterator Utilities]

#include <value_iterator.hpp>

List of all members.

Public Types

typedef ptrdiff_t difference_type
typedef std::forward_iterator_tag iterator_category
typedef value_typepointer
typedef value_typereference
typedef F::result_type value_type

Public Member Functions

const value_typeoperator* () const
value_type operator* ()
value_iterator operator++ (int)
value_iteratoroperator++ ()
 value_iterator ()
 value_iterator (const I &x, const F &y)

Friends

bool operator!= (const value_iterator &a, const value_iterator &b)
bool operator== (const value_iterator &a, const value_iterator &b)

Detailed Description

template<typename I, typename F = identity<I>>
class adobe::value_iterator< I, F >

Definition at line 32 of file value_iterator.hpp.


Member Typedef Documentation

typedef ptrdiff_t difference_type

Definition at line 38 of file value_iterator.hpp.

typedef std::forward_iterator_tag iterator_category

Definition at line 39 of file value_iterator.hpp.

typedef value_type* pointer

Definition at line 36 of file value_iterator.hpp.

Definition at line 37 of file value_iterator.hpp.

typedef F::result_type value_type

Definition at line 35 of file value_iterator.hpp.


Constructor & Destructor Documentation

Definition at line 46 of file value_iterator.hpp.

value_iterator ( const I &  x,
const F &  y 
)

Definition at line 49 of file value_iterator.hpp.


Member Function Documentation

const value_type& operator* (  ) const

Definition at line 68 of file value_iterator.hpp.

value_type operator* (  )

Definition at line 73 of file value_iterator.hpp.

value_iterator& operator++ (  )

Definition at line 53 of file value_iterator.hpp.

value_iterator operator++ ( int   )

Definition at line 59 of file value_iterator.hpp.


Friends And Related Function Documentation

bool operator!= ( const value_iterator< I, F > &  a,
const value_iterator< I, F > &  b 
) [friend]

Definition at line 85 of file value_iterator.hpp.

bool operator== ( const value_iterator< I, F > &  a,
const value_iterator< I, F > &  b 
) [friend]

Definition at line 78 of file value_iterator.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google