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::shift_left< word_type > Struct Template Reference

Detailed description

template< typename word_type>
struct nvbio::shift_left< word_type >

A left shift functor

Definition at line 1002 of file numbers.h.

#include <numbers.h>

Public Types

typedef word_type argument_type
 
typedef word_type result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE shift_left (const uint32 _shift)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type i) const
 

Public Members

const uint32 shift
 

Member Typedef Documentation

template<typename word_type >
typedef word_type nvbio::shift_left< word_type >::argument_type

Definition at line 1004 of file numbers.h.

template<typename word_type >
typedef word_type nvbio::shift_left< word_type >::result_type

Definition at line 1005 of file numbers.h.

Constructor & Destructor Documentation

template<typename word_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::shift_left< word_type >::shift_left ( const uint32  _shift)
inline

constructor

Definition at line 1010 of file numbers.h.

Member Function Documentation

template<typename word_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::shift_left< word_type >::operator() ( const argument_type  i) const
inline

functor operator

Definition at line 1015 of file numbers.h.

Member Data Documentation

template<typename word_type >
const uint32 nvbio::shift_left< word_type >::shift

Definition at line 1021 of file numbers.h.


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