Modernized GAlib  3.0.0 current
Public Member Functions | Protected Attributes | Friends | List of all members
GAAlleleSet< T > Class Template Reference

Public Member Functions

 GAAlleleSet (unsigned int n, const T a[])
 
 GAAlleleSet (const T &lower, const T &upper, GAAllele::BoundType lb=GAAllele::BoundType::INCLUSIVE, GAAllele::BoundType ub=GAAllele::BoundType::INCLUSIVE)
 
 GAAlleleSet (const T &lower, const T &upper, const T &increment, GAAllele::BoundType lb=GAAllele::BoundType::INCLUSIVE, GAAllele::BoundType ub=GAAllele::BoundType::INCLUSIVE)
 
 GAAlleleSet (const GAAlleleSet< T > &set)
 
GAAlleleSet< T > & operator= (const GAAlleleSet< T > &set)
 
GAAlleleSet< T > * clone () const
 
void link (GAAlleleSet< T > set)
 
void unlink ()
 
int size () const
 
int add (const T &alle)
 
int remove (const T &allele)
 
int remove (unsigned int x)
 
allele () const
 
allele (unsigned int i) const
 
lower () const
 
upper () const
 
inc () const
 
GAAllele::BoundType lowerBoundType () const
 
GAAllele::BoundType upperBoundType () const
 
GAAllele::Type type () const
 
int read (std::istream &)
 
int write (std::ostream &) const
 

Protected Attributes

GAAlleleSetCore< T > * core
 

Friends

template<class U >
int operator== (const GAAlleleSet< U > &, const GAAlleleSet< U > &)
 
template<class U >
int operator!= (const GAAlleleSet< U > &, const GAAlleleSet< U > &)
 

The documentation for this class was generated from the following file: