Public Types | Public Member Functions

LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR > Class Template Reference

This is basically a non-operate: begin() and end() are passed on to the consumer of this class. More...

#include <collectioninterface.h>

List of all members.

Public Types

typedef CARGO Cargo
typedef ITERATOR Iterator
typedef CONST_ITERATOR ConstIterator
typedef CELL Container

Public Member Functions

CELL & operator() (CELL &cell) const
const CELL & operator() (const CELL &cell) const
ITERATOR begin (CELL &cell) const
CONST_ITERATOR begin (const CELL &cell) const
ITERATOR end (CELL &cell) const
CONST_ITERATOR end (const CELL &cell) const
std::size_t size (const CELL &cell) const

Detailed Description

template<typename CELL, typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
class LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >

This is basically a non-operate: begin() and end() are passed on to the consumer of this class.


Member Typedef Documentation

template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
typedef CARGO LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::Cargo
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
typedef CONST_ITERATOR LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::ConstIterator
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
typedef CELL LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::Container
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
typedef ITERATOR LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::Iterator

Member Function Documentation

template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
ITERATOR LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::begin ( CELL &  cell  )  const [inline]
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
CONST_ITERATOR LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::begin ( const CELL &  cell  )  const [inline]
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
ITERATOR LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::end ( CELL &  cell  )  const [inline]
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
CONST_ITERATOR LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::end ( const CELL &  cell  )  const [inline]
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
const CELL& LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::operator() ( const CELL &  cell  )  const [inline]
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
CELL& LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::operator() ( CELL &  cell  )  const [inline]
template<typename CELL , typename CARGO = typename CELL::value_type, typename ITERATOR = typename CELL::iterator, typename CONST_ITERATOR = typename CELL::const_iterator>
std::size_t LibGeoDecomp::CollectionInterface::PassThrough< CELL, CARGO, ITERATOR, CONST_ITERATOR >::size ( const CELL &  cell  )  const [inline]

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