Gamgee
You miserable little maggot. I'll stove your head in!
|
class to manipulate filter field objects without making copies. More...
#include <variant_filters.h>
Public Member Functions | |
VariantFilters (const std::shared_ptr< bcf_hdr_t > &header, const std::shared_ptr< bcf1_t > &body) | |
standard constructor used by the Variant API More... | |
std::string | operator[] (int index) const |
random access operator More... | |
uint32_t | size () const |
returns the number of filters in the filter field More... | |
bool | missing () const |
returns true if the filters field is missing More... | |
VariantFiltersIterator | begin () const |
returns an iterator pointing to the first element in the list of filters. More... | |
VariantFiltersIterator | end () const |
Returns an iterator referring to one-past-the-last element in the list of filters. More... | |
class to manipulate filter field objects without making copies.
It provides all the functionality that a vector of strings should provide. You can do random access or iteration style access on it. The iterator is implemented as a random iterator for maximum flexibility with standard library functions
|
inlineexplicit |
standard constructor used by the Variant API
header | an htslib variant header to keep shared ownership of the memory |
body | an htslib variant body to keep shared ownership of the memory |
|
inline |
returns an iterator pointing to the first element in the list of filters.
|
inline |
Returns an iterator referring to one-past-the-last element in the list of filters.
|
inline |
returns true if the filters field is missing
|
inline |
random access operator
index | the filter index |
|
inline |
returns the number of filters in the filter field