bpp-popgen3
3.0.0
|
The Genepop input format for popgenlib. More...
#include <Bpp/PopGen/DataSet/Io/Genepop/Genepop.h>
Public Member Functions | |
Genepop () | |
~Genepop () | |
The IDataSet interface. | |
void | read (std::istream &is, DataSet &data_set) |
Read a DataSet on istream. More... | |
void | read (const std::string &path, DataSet &data_set) |
Read a DataSet from a text file. More... | |
DataSet * | read (std::istream &is) |
Read istream and return a DataSet. More... | |
DataSet * | read (const std::string &path) |
Read a text file and return a DataSet. More... | |
The IOFormat interface | |
const std::string | getFormatName () const |
const std::string | getFormatDescription () const |
Private Member Functions | |
The IOFormat interface. | |
const std::string | getDataType () const |
Genepop::Genepop | ( | ) |
Definition at line 10 of file Genepop.cpp.
Genepop::~Genepop | ( | ) |
Definition at line 12 of file Genepop.cpp.
|
inlineprivatevirtualinherited |
Implements bpp::IOFormat.
Definition at line 33 of file IODataSet.h.
|
inlinevirtual |
Implements bpp::IOFormat.
|
inlinevirtual |
Implements bpp::IOFormat.
|
virtual |
Read a text file and return a DataSet.
Reimplemented from bpp::AbstractIDataSet.
Definition at line 169 of file Genepop.cpp.
References bpp::AbstractIDataSet::read().
|
virtual |
Read a DataSet from a text file.
Reimplemented from bpp::AbstractIDataSet.
Definition at line 159 of file Genepop.cpp.
References bpp::AbstractIDataSet::read().
|
virtual |
Read istream and return a DataSet.
Reimplemented from bpp::AbstractIDataSet.
Definition at line 164 of file Genepop.cpp.
References bpp::AbstractIDataSet::read().
|
virtual |
Read a DataSet on istream.
Implements bpp::AbstractIDataSet.
Definition at line 14 of file Genepop.cpp.
References bpp::DataSet::addAlleleInfoByLocusPosition(), bpp::DataSet::addEmptyGroup(), bpp::DataSet::addEmptyIndividualToGroup(), bpp::DataSet::getGroupPosition(), bpp::DataSet::getIndividualPositionInGroup(), bpp::FileTools::getNextLine(), bpp::StringTokenizer::hasMoreToken(), bpp::DataSet::initAnalyzedLoci(), bpp::DataSet::initIndividualGenotypeInGroup(), bpp::StringTokenizer::nextToken(), bpp::StringTokenizer::numberOfRemainingTokens(), bpp::TextTools::removeSurroundingWhiteSpaces(), bpp::DataSet::setIndividualMonolocusGenotypeByAlleleIdInGroup(), bpp::DataSet::setLocusInfo(), bpp::TextTools::toString(), and bpp::TextTools::toUpper().