|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_POPULATION_FILTER_FILTER_STATUS_H_
2 #define GENESIS_POPULATION_FILTER_FILTER_STATUS_H_
39 namespace population {
82 return status_ == value;
85 template<
typename FilterTag>
86 bool is( FilterTag value )
const
88 return is(
static_cast<IntType>( value ));
103 throw std::domain_error(
104 "Cannot set FilterStatus to " +
std::to_string(value) +
", as the status has "
105 "already been set to " +
std::to_string(status_) +
" before. Use reset() instead."
111 template<
typename FilterTag>
112 void set( FilterTag value )
127 template<
typename FilterTag>
145 #endif // include guard
bool is(FilterTag value) const
Tag class to assign a filter status to a Variant or SampleCounts.
void set(FilterTag value)
bool is(IntType value) const
std::string to_string(GenomeLocus const &locus)
void reset(FilterTag value)
void reset(IntType value)
Container namespace for all symbols of genesis in order to keep them separate when used as a library.