|
Gamgee
You miserable little maggot. I'll stove your head in!
|
Utility class to handle reference blocks while iterating over multiple variant files. More...
#include <reference_block_splitting_variant_iterator.h>
Public Member Functions | |
| ReferenceBlockSplittingVariantIterator ()=default | |
| creates an empty iterator (used for the end() method) More... | |
| ReferenceBlockSplittingVariantIterator (const std::vector< std::shared_ptr< htsFile >> &variant_files, const std::vector< std::shared_ptr< bcf_hdr_t >> &variant_headers) | |
| initializes a new iterator based on a vector of input files (vcf or bcf) More... | |
| ReferenceBlockSplittingVariantIterator (ReferenceBlockSplittingVariantIterator &&)=default | |
| a ReferenceBlockSplittingVariantIterator move constructor guarantees all objects will have the same state. More... | |
| ReferenceBlockSplittingVariantIterator & | operator= (ReferenceBlockSplittingVariantIterator &&)=default |
| ReferenceBlockSplittingVariantIterator (const ReferenceBlockSplittingVariantIterator &)=delete | |
| a ReferenceBlockSplittingVariantIterator cannot be copied. More... | |
| ReferenceBlockSplittingVariantIterator & | operator= (const ReferenceBlockSplittingVariantIterator &)=delete |
| bool | operator!= (const ReferenceBlockSplittingVariantIterator &rhs) |
| pseudo-inequality operator (needed by for-each loop) More... | |
| std::vector< VariantIndexPair > & | operator* () |
| dereference operator (needed by for-each loop) More... | |
| std::vector< VariantIndexPair > & | operator++ () |
| advances the iterator, fetching the next vector More... | |
Public Member Functions inherited from gamgee::MultipleVariantIterator | |
| MultipleVariantIterator ()=default | |
| creates an empty iterator (used for the end() method) More... | |
| MultipleVariantIterator (const std::vector< std::shared_ptr< htsFile >> &variant_files, const std::vector< std::shared_ptr< bcf_hdr_t >> &variant_headers) | |
| initializes a new iterator based on a vector of input files (vcf or bcf) More... | |
| MultipleVariantIterator (MultipleVariantIterator &&)=default | |
| a MultipleVariantIterator move constructor guarantees all objects will have the same state. More... | |
| MultipleVariantIterator & | operator= (MultipleVariantIterator &&other)=default |
| MultipleVariantIterator (const MultipleVariantIterator &)=delete | |
| a MultipleVariantIterator cannot be copied safely, as it is iterating over streams. More... | |
| MultipleVariantIterator & | operator= (const MultipleVariantIterator &other)=delete |
| bool | operator!= (const MultipleVariantIterator &rhs) |
| pseudo-inequality operator (needed by for-each loop) More... | |
| std::vector< VariantIndexPair > & | operator* () |
| dereference operator (needed by for-each loop) More... | |
| std::vector< VariantIndexPair > & | operator++ () |
| advances the iterator, fetching the next vector More... | |
Utility class to handle reference blocks while iterating over multiple variant files.
This class is experimental/WIP
|
default |
creates an empty iterator (used for the end() method)
| gamgee::ReferenceBlockSplittingVariantIterator::ReferenceBlockSplittingVariantIterator | ( | const std::vector< std::shared_ptr< htsFile >> & | variant_files, |
| const std::vector< std::shared_ptr< bcf_hdr_t >> & | variant_headers | ||
| ) |
initializes a new iterator based on a vector of input files (vcf or bcf)
| variant_files | vector of vcf/bcf files opened via the bcf_open() macro from htslib |
| variant_headers | vector of variant headers corresponding to these files |
|
default |
a ReferenceBlockSplittingVariantIterator move constructor guarantees all objects will have the same state.
|
delete |
a ReferenceBlockSplittingVariantIterator cannot be copied.
| bool gamgee::ReferenceBlockSplittingVariantIterator::operator!= | ( | const ReferenceBlockSplittingVariantIterator & | rhs | ) |
pseudo-inequality operator (needed by for-each loop)
| rhs | the other ReferenceBlockSplittingVariantIterator to compare to |
| std::vector< VariantIndexPair > & gamgee::ReferenceBlockSplittingVariantIterator::operator* | ( | ) |
dereference operator (needed by for-each loop)
| std::vector< VariantIndexPair > & gamgee::ReferenceBlockSplittingVariantIterator::operator++ | ( | ) |
advances the iterator, fetching the next vector
|
default |
|
delete |
1.8.8