NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | List of all members
nvbio::io::SequenceData Struct Reference

Detailed description

Base abstract class to encapsulate a sequence data object. This class is meant to be a base for either host, shared or device memory objects, and provides almost no interface, except for virtual methods to obtain a plain view of the class itself.

Definition at line 414 of file sequence.h.

#include <sequence.h>

Inheritance diagram for nvbio::io::SequenceData:
nvbio::io::SequenceDataInfo nvbio::io::SequenceDataMMAP nvbio::io::SequenceDataStorage< system_tag >

Public Types

typedef SequenceDataView plain_view_type
 
typedef ConstSequenceDataView const_plain_view_type
 

Public Methods

virtual ~SequenceData ()
 
virtual operator plain_view_type ()
 
virtual operator const_plain_view_type () const
 
- Public Methods inherited from nvbio::io::SequenceDataInfo
NVBIO_HOST_DEVICE NVBIO_FORCEINLINE SequenceDataInfo ()
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE Alphabet 
alphabet () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
size () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
bps () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
words () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
qs () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
name_stream_len () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE bool 
has_qualities () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
max_sequence_len () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
min_sequence_len () const
 
NVBIO_HOST_DEVICE
NVBIO_FORCEINLINE uint32 
avg_sequence_len () const
 

Additional Inherited Members

- Public Members inherited from nvbio::io::SequenceDataInfo
Alphabet m_alphabet
 the alphabet More...
 
uint32 m_n_seqs
 number of reads in this struct More...
 
uint32 m_name_stream_len
 the length (in bytes) of the name_stream buffer More...
 
uint32 m_sequence_stream_len
 the length of sequence_stream in base pairs More...
 
uint32 m_sequence_stream_words
 the number of words in sequence_stream More...
 
uint32 m_has_qualities
 has qualities More...
 
uint32 m_min_sequence_len
 statistics on the reads More...
 
uint32 m_max_sequence_len
 statistics on the reads More...
 
uint32 m_avg_sequence_len
 statistics on the reads More...
 

Member Typedef Documentation

Definition at line 417 of file sequence.h.

Definition at line 416 of file sequence.h.

Constructor & Destructor Documentation

virtual nvbio::io::SequenceData::~SequenceData ( )
inlinevirtual

virtual destructor

Definition at line 421 of file sequence.h.

Member Function Documentation

virtual nvbio::io::SequenceData::operator const_plain_view_type ( ) const
inlinevirtual

convert to a const plain_view

Reimplemented in nvbio::io::SequenceDataStorage< system_tag >, and nvbio::io::SequenceDataMMAP.

Definition at line 429 of file sequence.h.

virtual nvbio::io::SequenceData::operator plain_view_type ( )
inlinevirtual

convert to a plain_view

Reimplemented in nvbio::io::SequenceDataStorage< system_tag >, and nvbio::io::SequenceDataMMAP.

Definition at line 425 of file sequence.h.


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