bpp-popgen3  3.0.0
MonolocusGenotype.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef _MONOLOCUSGENOTYPE_H_
6 #define _MONOLOCUSGENOTYPE_H_
7 
8 // From STL
9 #include <vector>
10 
11 #include <Bpp/Clonable.h>
12 
13 namespace bpp
14 {
25  public virtual Clonable
26 {
27 public:
28  MonolocusGenotypeInterface* clone() const override = 0;
29 
30 public:
41  virtual std::vector<size_t> getAlleleIndex() const = 0;
42 };
43 } // end of namespace bpp;
44 
45 #endif // _MONOLOCUSGENOTYPE_H_
The MonolocusGenotype virtual class.
MonolocusGenotypeInterface * clone() const override=0
virtual std::vector< size_t > getAlleleIndex() const =0
Get the alleles' index.