Gamgee
You miserable little maggot. I'll stove your head in!
|
Utility class to hold the header of a sam file. More...
#include <sam_header.h>
Public Member Functions | |
SamHeader ()=default | |
initializes a null SamHeader More... | |
SamHeader (const std::shared_ptr< bam_hdr_t > &header) | |
creates a SamHeader given htslib object. More... | |
SamHeader (const SamHeader &other) | |
makes a deep copy of a SamHeader. Shared pointers maintain state to all other associated objects correctly. More... | |
SamHeader (SamHeader &&other) noexcept | |
moves SamHeader accordingly. Shared pointers maintain state to all other associated objects correctly. More... | |
SamHeader & | operator= (const SamHeader &other) |
deep copy assignment of a SamHeader. Shared pointers maintain state to all other associated objects correctly. More... | |
SamHeader & | operator= (SamHeader &&other) noexcept |
move assignment of a SamHeader. Shared pointers maintain state to all other associated objects correctly. More... | |
Friends | |
class | SamWriter |
Utility class to hold the header of a sam file.
|
explicitdefault |
|
explicit |
gamgee::SamHeader::SamHeader | ( | const SamHeader & | other | ) |
|
noexcept |
deep copy assignment of a SamHeader. Shared pointers maintain state to all other associated objects correctly.
creates a deep copy of a SamHeader object
< shared_ptr assignment will take care of deallocating old sam record if necessary
move assignment of a SamHeader. Shared pointers maintain state to all other associated objects correctly.
|
friend |