Public Types | Public Member Functions | Private Attributes

LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR > Class Template Reference

This is a shim to let MultiContainerCell handle members of type BoxCell (which use this NeighborhoodIterator for accessing the surrounding particles) identically to ContainerCells (which rely on NeighborhoodAdapter). More...

#include <neighborhooditerator.h>

Collaboration diagram for LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef NEIGHBORHOOD_ITERATOR Iterator

Public Member Functions

 Adapter (const typename Iterator::Neighborhood *hood)
const Iteratorbegin () const
const Iteratorend () const

Private Attributes

Iterator myBegin
Iterator myEnd

Detailed Description

template<typename NEIGHBORHOOD_ITERATOR>
class LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >

This is a shim to let MultiContainerCell handle members of type BoxCell (which use this NeighborhoodIterator for accessing the surrounding particles) identically to ContainerCells (which rely on NeighborhoodAdapter).


Member Typedef Documentation

template<typename NEIGHBORHOOD_ITERATOR >
typedef NEIGHBORHOOD_ITERATOR LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >::Iterator

Constructor & Destructor Documentation

template<typename NEIGHBORHOOD_ITERATOR >
LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >::Adapter ( const typename Iterator::Neighborhood *  hood  )  [inline]

Member Function Documentation

template<typename NEIGHBORHOOD_ITERATOR >
const Iterator& LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >::begin (  )  const [inline]
template<typename NEIGHBORHOOD_ITERATOR >
const Iterator& LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >::end (  )  const [inline]

Member Data Documentation

template<typename NEIGHBORHOOD_ITERATOR >
Iterator LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >::myBegin [private]
template<typename NEIGHBORHOOD_ITERATOR >
Iterator LibGeoDecomp::NeighborhoodIteratorHelpers::Adapter< NEIGHBORHOOD_ITERATOR >::myEnd [private]

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