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::component_functor< T > Struct Template Reference

Detailed description

template< typename T>
struct nvbio::component_functor< T >

Get a given character from a vector

Definition at line 962 of file numbers.h.

#include <numbers.h>

Public Types

typedef T argument_type
 
typedef vector_traits< T >
::value_type 
result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE component_functor (const uint32 c)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type op) const
 

Public Members

uint32 m_c
 

Member Typedef Documentation

template<typename T >
typedef T nvbio::component_functor< T >::argument_type

Definition at line 964 of file numbers.h.

template<typename T >
typedef vector_traits<T>::value_type nvbio::component_functor< T >::result_type

Definition at line 965 of file numbers.h.

Constructor & Destructor Documentation

Definition at line 968 of file numbers.h.

Member Function Documentation

template<typename T >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::component_functor< T >::operator() ( const argument_type  op) const
inline

Definition at line 971 of file numbers.h.

Member Data Documentation

template<typename T >
uint32 nvbio::component_functor< T >::m_c

Definition at line 973 of file numbers.h.


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