Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
SynchronousIterators< Iterators > Struct Template Reference

#include <synchronous_iterator.h>

Public Member Functions

 SynchronousIterators (const Iterators &i)
 
 SynchronousIterators (const SynchronousIterators &i)
 

Public Attributes

Iterators iterators
 

Detailed Description

template<typename Iterators>
struct SynchronousIterators< Iterators >

A class that represents a set of iterators each of which are incremented by one at the same time. This is typically used in calls like std::transform(a.begin(), a.end(), b.begin(), functor); where we have synchronous iterators marching through the containers a,b. If an object of this type represents the end of a range, only the first element is considered (we only have a.end(), not b.end())

The template argument of the current class shall be of type std_cxx1x::tuple with arguments equal to the iterator types.

This type, and the helper functions associated with it, are used as the Value concept for the blocked_range type of the Threading Building Blocks.

Author
Wolfgang Bangerth, 2008

Definition at line 58 of file synchronous_iterator.h.

Constructor & Destructor Documentation

template<typename Iterators >
SynchronousIterators< Iterators >::SynchronousIterators ( const Iterators &  i)
inline

Constructor.

Definition at line 82 of file synchronous_iterator.h.

template<typename Iterators >
SynchronousIterators< Iterators >::SynchronousIterators ( const SynchronousIterators< Iterators > &  i)
inline

Copy constructor.

Definition at line 91 of file synchronous_iterator.h.

Member Data Documentation

template<typename Iterators>
Iterators SynchronousIterators< Iterators >::iterators

Storage for the iterators represented by the current class.

Definition at line 74 of file synchronous_iterator.h.


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