bpp-popgen  2.1.0
bpp::GeneMapperCsvExport::Record Class Reference

Store one line of the GeneMapper file. More...

#include <Bpp/PopGen/GeneMapperCsvExport.h>

+ Collaboration diagram for bpp::GeneMapperCsvExport::Record:

List of all members.

Public Member Functions

 Record (const std::string &row)
 Constructor.
const std::string & getSampleFileName () const
const std::string & getSampleName () const
const std::string & getPanel () const
const std::string & getMarkerName () const
const std::string & getDye () const
const size_t getNumberOfAllele () const
const GeneMapperCsvExport::AllelegetAllele (size_t allelePos) const

Private Attributes

std::string sampleFile_
std::string sampleName_
std::string panel_
std::string markerName_
std::string dye_
std::vector
< GeneMapperCsvExport::Allele
alleles_
std::string dac_
double an_

Detailed Description

Store one line of the GeneMapper file.

Definition at line 160 of file GeneMapperCsvExport.h.


Constructor & Destructor Documentation

GeneMapperCsvExport::Record::Record ( const std::string &  row)

Constructor.

Parameters:
rowOne row of the file as a std::string

Definition at line 201 of file GeneMapperCsvExport.cpp.

References alleles_, an_, dac_, dye_, bpp::StringTokenizer::getToken(), markerName_, bpp::StringTokenizer::numberOfRemainingTokens(), panel_, sampleFile_, sampleName_, and bpp::TextTools::toDouble().


Member Function Documentation

const GeneMapperCsvExport::Allele& bpp::GeneMapperCsvExport::Record::getAllele ( size_t  allelePos) const [inline]

Definition at line 204 of file GeneMapperCsvExport.h.

References alleles_.

const std::string& bpp::GeneMapperCsvExport::Record::getDye ( ) const [inline]

Definition at line 196 of file GeneMapperCsvExport.h.

References dye_.

const std::string& bpp::GeneMapperCsvExport::Record::getMarkerName ( ) const [inline]

Definition at line 192 of file GeneMapperCsvExport.h.

References markerName_.

const size_t bpp::GeneMapperCsvExport::Record::getNumberOfAllele ( ) const [inline]

Definition at line 200 of file GeneMapperCsvExport.h.

References alleles_.

const std::string& bpp::GeneMapperCsvExport::Record::getPanel ( ) const [inline]

Definition at line 188 of file GeneMapperCsvExport.h.

References panel_.

const std::string& bpp::GeneMapperCsvExport::Record::getSampleFileName ( ) const [inline]

Definition at line 180 of file GeneMapperCsvExport.h.

References sampleFile_.

const std::string& bpp::GeneMapperCsvExport::Record::getSampleName ( ) const [inline]

Definition at line 184 of file GeneMapperCsvExport.h.

References sampleName_.


Member Data Documentation

Definition at line 170 of file GeneMapperCsvExport.h.

Referenced by Record().

Definition at line 169 of file GeneMapperCsvExport.h.

Referenced by Record().

Definition at line 167 of file GeneMapperCsvExport.h.

Referenced by getDye(), and Record().

Definition at line 166 of file GeneMapperCsvExport.h.

Referenced by getMarkerName(), and Record().

Definition at line 165 of file GeneMapperCsvExport.h.

Referenced by getPanel(), and Record().

Definition at line 163 of file GeneMapperCsvExport.h.

Referenced by getSampleFileName(), and Record().

Definition at line 164 of file GeneMapperCsvExport.h.

Referenced by getSampleName(), and Record().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends