|
Gamgee
You miserable little maggot. I'll stove your head in!
|
Utility class to handle the memory management of the sam record object for a read base qualities. More...
#include <base_quals.h>
Public Member Functions | |
| BaseQuals (const std::shared_ptr< bam1_t > &sam_record) | |
| creates a BaseQuals object that points to htslib memory already allocated More... | |
| BaseQuals (const BaseQuals &other) | |
| creates a deep copy of a BaseQuals object More... | |
| BaseQuals (BaseQuals &&other) noexcept | |
| moves a BaseQuals object, transferring ownership of the underlying htslib memory More... | |
| BaseQuals & | operator= (const BaseQuals &other) |
| creates a deep copy of a BaseQuals object More... | |
| BaseQuals & | operator= (BaseQuals &&other) noexcept |
| moves a BaseQuals object, transferring ownership of the underlying htslib memory More... | |
| ~BaseQuals ()=default | |
| Default destruction is sufficient, since our shared_ptr will handle deallocation. More... | |
| uint8_t | operator[] (const uint32_t index) const |
| use freely as you would an array. More... | |
| uint32_t | size () const |
| number of base qualities in the container More... | |
Utility class to handle the memory management of the sam record object for a read base qualities.
|
explicit |
| gamgee::BaseQuals::BaseQuals | ( | const BaseQuals & | other | ) |
creates a deep copy of a BaseQuals object
|
noexcept |
moves a BaseQuals object, transferring ownership of the underlying htslib memory
|
default |
Default destruction is sufficient, since our shared_ptr will handle deallocation.
creates a deep copy of a BaseQuals object
< shared_ptr assignment will take care of deallocating old sam record if necessary
moves a BaseQuals object, transferring ownership of the underlying htslib memory
< shared_ptr assignment will take care of deallocating old sam record if necessary
| uint8_t gamgee::BaseQuals::operator[] | ( | const uint32_t | index | ) | const |
use freely as you would an array.
access an individual base quality by index
|
inline |
number of base qualities in the container
1.8.7