stlab.adobe.com Adobe Systems Incorporated

index_iterator< F, T, R, I, D > Class Template Reference
[Iterator Utilities]

An iterator over elements which are the result of applying a function to an index. More...

#include <adobe/iterator.hpp>

List of all members.

Public Member Functions

base () const
 index_iterator (F f, I i)
 index_iterator ()
 index_iterator (const index_iterator &x)
index_iteratoroperator= (const index_iterator &x)

Friends

class boost::iterator_core_access
void swap (index_iterator &x, index_iterator &y)

Detailed Description

template<typename F, typename T, typename R = T&, typename I = std::size_t, typename D = std::ptrdiff_t>
class adobe::index_iterator< F, T, R, I, D >

Model Of:
Types:
  • F: Models Unary Function
  • T: Value type of the sequence's elements; models Regular
  • R: Return type of operator*(); models Reference Type of T
  • I: Index type; models Unsigned Integer
  • D: Difference type of I; models Signed Integer

Definition at line 254 of file iterator.hpp.


Constructor & Destructor Documentation

Definition at line 258 of file iterator.hpp.

index_iterator ( f,
i 
)

Constructs index_iterator with unary function f and index i.

Definition at line 259 of file iterator.hpp.

index_iterator ( const index_iterator< F, T, R, I, D > &  x )

Definition at line 261 of file iterator.hpp.


Member Function Documentation

base (  ) const

Returns iterator's index.

Definition at line 279 of file iterator.hpp.

index_iterator& operator= ( const index_iterator< F, T, R, I, D > &  x )

Definition at line 266 of file iterator.hpp.


Friends And Related Function Documentation

friend class boost::iterator_core_access [friend]

Definition at line 287 of file iterator.hpp.

void swap ( index_iterator< F, T, R, I, D > &  x,
index_iterator< F, T, R, I, D > &  y 
) [friend]

Definition at line 273 of file 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