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::reverse_functor< IndexType > Struct Template Reference

Detailed description

template< typename IndexType>
struct nvbio::reverse_functor< IndexType >

helper functor to reverse a sequence

Definition at line 1309 of file numbers.h.

#include <numbers.h>

Public Types

typedef IndexType index_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE reverse_functor ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE reverse_functor (const index_type len)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE index_type 
operator() (const index_type i) const
 

Public Members

index_type m_len
 

Member Typedef Documentation

template<typename IndexType >
typedef IndexType nvbio::reverse_functor< IndexType >::index_type

Definition at line 1311 of file numbers.h.

Constructor & Destructor Documentation

template<typename IndexType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::reverse_functor< IndexType >::reverse_functor ( )
inline

empty constructor

Definition at line 1316 of file numbers.h.

template<typename IndexType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::reverse_functor< IndexType >::reverse_functor ( const index_type  len)
inline

constructor

Definition at line 1321 of file numbers.h.

Member Function Documentation

template<typename IndexType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE index_type nvbio::reverse_functor< IndexType >::operator() ( const index_type  i) const
inline

functor operator

Definition at line 1326 of file numbers.h.

Member Data Documentation

template<typename IndexType >
index_type nvbio::reverse_functor< IndexType >::m_len

Definition at line 1328 of file numbers.h.


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