NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
alphabet_inl.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/dna.h>

Go to the source code of this file.

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE char 
nvbio::rna_to_char (const uint8 c)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint8 
nvbio::char_to_rna (const char c)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE char 
nvbio::protein_to_char (const uint8 c)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint8 
nvbio::char_to_protein (const char c)
 
template<Alphabet ALPHABET>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE char 
nvbio::to_char (const uint8 c)
 
template<Alphabet ALPHABET>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint8 
nvbio::from_char (const char c)
 
template<Alphabet ALPHABET, typename SymbolIterator >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
nvbio::to_string (const SymbolIterator begin, const uint32 n, char *string)
 
template<Alphabet ALPHABET, typename SymbolIterator >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
nvbio::to_string (const SymbolIterator begin, const SymbolIterator end, char *string)
 
template<Alphabet ALPHABET, typename SymbolIterator >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
nvbio::from_string (const char *begin, const char *end, SymbolIterator symbols)
 
template<Alphabet ALPHABET, typename SymbolIterator >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
nvbio::from_string (const char *begin, SymbolIterator symbols)