NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::gather_functor< Iterator, index_type > Struct Template Reference

Detailed description

template< typename Iterator, typename index_type = uint32>
struct nvbio::gather_functor< Iterator, index_type >

Build a gathering functor

Definition at line 1220 of file numbers.h.

#include <numbers.h>

Public Types

typedef index_type argument_type
 
typedef std::iterator_traits
< Iterator >::value_type 
result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE gather_functor (const Iterator perm)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type op) const
 

Public Members

Iterator m_perm
 

Member Typedef Documentation

template<typename Iterator , typename index_type = uint32>
typedef index_type nvbio::gather_functor< Iterator, index_type >::argument_type

Definition at line 1222 of file numbers.h.

template<typename Iterator , typename index_type = uint32>
typedef std::iterator_traits<Iterator>::value_type nvbio::gather_functor< Iterator, index_type >::result_type

Definition at line 1223 of file numbers.h.

Constructor & Destructor Documentation

template<typename Iterator , typename index_type = uint32>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::gather_functor< Iterator, index_type >::gather_functor ( const Iterator  perm)
inline

Definition at line 1226 of file numbers.h.

Member Function Documentation

template<typename Iterator , typename index_type = uint32>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::gather_functor< Iterator, index_type >::operator() ( const argument_type  op) const
inline

Definition at line 1229 of file numbers.h.

Member Data Documentation

template<typename Iterator , typename index_type = uint32>
Iterator nvbio::gather_functor< Iterator, index_type >::m_perm

Definition at line 1231 of file numbers.h.


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