src/c++/lib/genotyping/GraphGenotyper.cpp
/**
 * Get the genotype for a particular sample
 *
 * @param samplename sample name
 * @param breakpointname name of breakpoint ("" for combined GT)
 * @return the genotype
 */
Get the genotype for a particular sample
@param samplename sample name
@param breakpointname name of breakpoint ("" for combined GT)
@return the genotype
Get the genotype for a particular sample @param samplename sample name @param breakpointname name of breakpoint ( " " for combined GT ) @return the genotype
Genotype GraphGenotyper::getGenotype(const std::string& samplename, const std::string& breakpointname) const
{
    auto gt_it = _impl->graph_genotypes.find(make_pair(samplename, breakpointname));
    if (gt_it == _impl->graph_genotypes.end())
    {
        return Genotype();
    }
    return gt_it->second;
}
Genotype GraphGenotyper :: getGenotype ( const std :: string & samplename , const std :: string & breakpointname ) const { auto gt_it = _impl -> graph_genotypes . find ( make_pair ( samplename , breakpointname ) ) ; if ( gt_it == _impl -> graph_genotypes . end ( ) ) { return Genotype ( ) ; } return gt_it -> second ; }
Get the genotype for a particular sample
 @param samplename sample name
 @param breakpointname name of breakpoint ("" for combined GT)
 @return the genotype
Get the genotype for a particular sample @param samplename sample name @param breakpointname name of breakpoint ( " " for combined GT ) @return the genotype