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::string_set_length_functor< string_set_type > Struct Template Reference

Detailed description

template< typename string_set_type>
struct nvbio::string_set_length_functor< string_set_type >

A functor fetching the length of the i-th string in a set

Definition at line 933 of file string_set.h.

#include <string_set.h>

Public Types

typedef uint32 argument_type
 
typedef uint32 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_set_length_functor (const string_set_type _string_set)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
operator() (const uint32 i) const
 

Public Members

const string_set_type string_set
 

Member Typedef Documentation

template<typename string_set_type >
typedef uint32 nvbio::string_set_length_functor< string_set_type >::argument_type

Definition at line 935 of file string_set.h.

template<typename string_set_type >
typedef uint32 nvbio::string_set_length_functor< string_set_type >::result_type

Definition at line 936 of file string_set.h.

Constructor & Destructor Documentation

template<typename string_set_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::string_set_length_functor< string_set_type >::string_set_length_functor ( const string_set_type  _string_set)
inline

constructor

Definition at line 941 of file string_set.h.

Member Function Documentation

template<typename string_set_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::string_set_length_functor< string_set_type >::operator() ( const uint32  i) const
inline

return the length of the i-th string, rounded to Q

Definition at line 946 of file string_set.h.

Member Data Documentation

template<typename string_set_type >
const string_set_type nvbio::string_set_length_functor< string_set_type >::string_set

Definition at line 948 of file string_set.h.


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