NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | List of all members
nvbio::complement_functor< ALPHABET_SIZE > Struct Template Reference

Detailed description

template< uint32 ALPHABET_SIZE>
struct nvbio::complement_functor< ALPHABET_SIZE >

helper functor to complement a sequence

Template Parameters
ALPHABET_SIZEsize of the alphabet - only characters c: c < ALPHABET_SIZE do get complemented

Definition at line 1337 of file numbers.h.

#include <numbers.h>

Public Types

typedef uint8 argument_type
 
typedef uint8 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE complement_functor ()
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint8 
operator() (const uint8 c) const
 

Member Typedef Documentation

template<uint32 ALPHABET_SIZE>
typedef uint8 nvbio::complement_functor< ALPHABET_SIZE >::argument_type

Definition at line 1339 of file numbers.h.

template<uint32 ALPHABET_SIZE>
typedef uint8 nvbio::complement_functor< ALPHABET_SIZE >::result_type

Definition at line 1340 of file numbers.h.

Constructor & Destructor Documentation

empty constructor

Definition at line 1345 of file numbers.h.

Member Function Documentation

template<uint32 ALPHABET_SIZE>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint8 nvbio::complement_functor< ALPHABET_SIZE >::operator() ( const uint8  c) const
inline

functor operator

Definition at line 1350 of file numbers.h.


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