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
{
24
class
MonolocusGenotypeInterface
:
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_
Clonable.h
bpp::Clonable
bpp::MonolocusGenotypeInterface
The MonolocusGenotype virtual class.
Definition:
MonolocusGenotype.h:26
bpp::MonolocusGenotypeInterface::clone
MonolocusGenotypeInterface * clone() const override=0
bpp::MonolocusGenotypeInterface::getAlleleIndex
virtual std::vector< size_t > getAlleleIndex() const =0
Get the alleles' index.
bpp
Bpp
PopGen
MonolocusGenotype.h
Generated on Sun Jul 21 2024 08:40:35 for bpp-popgen3 by
1.9.1