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

Detailed description

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

A utility functor to reverse a given stream

Definition at line 52 of file utils.h.

#include <utils.h>

Public Types

typedef IndexType index_type
 
typedef index_type argument_type
 
typedef index_type result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE ReverseXform ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE ReverseXform (const index_type n)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE index_type 
operator() (const index_type i) const
 

Public Members

const index_type pos
 

Member Typedef Documentation

template<typename IndexType>
typedef index_type nvbio::ReverseXform< IndexType >::argument_type

Definition at line 55 of file utils.h.

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

Definition at line 54 of file utils.h.

template<typename IndexType>
typedef index_type nvbio::ReverseXform< IndexType >::result_type

Definition at line 56 of file utils.h.

Constructor & Destructor Documentation

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

empty constructor

Definition at line 61 of file utils.h.

template<typename IndexType>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::ReverseXform< IndexType >::ReverseXform ( const index_type  n)
inline

constructor

Definition at line 66 of file utils.h.

Member Function Documentation

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

functor operator

Definition at line 71 of file utils.h.

Member Data Documentation

template<typename IndexType>
const index_type nvbio::ReverseXform< IndexType >::pos

Definition at line 73 of file utils.h.


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