Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Haplotype Class Reference

#include <Haplotype.h>

Inheritance diagram for Haplotype:

Data List of all members.

Public Types

enum  RECOMBINATION_INFO {
  MISSING_INFO = '.', NO_INFORMATION = ':', NO_RECOMBINATION = '|', MATERNAL_RECOMBINATION = '/',
  PATERNAL_RECOMBINATION = '\\', BOTH_RECOMBINE = '+'
}

Public Member Functions

 Haplotype ()
 Haplotype (const char *h)
 Haplotype (const std::string &h)
bool isMissing (void) const
void setMissing (void)
void set (const char *haplotype)
void set (const std::string &haplotype)
const std::string get (void) const
bool operator< (const Data &b) const
bool operator== (const Data &b) const
const DATATYPE getDataType (void) const
virtual Haplotypeclone () const
const std::string getAlleleFromMom (void) const
const std::string getAlleleFromDad (void) const
Haplotype::RECOMBINATION_INFO getRecombinationInfo (void) const

Static Public Member Functions

static void addHaplotypeMissingValue (std::string value)
static bool isMissingValue (std::string value)

Private Member Functions

unsigned char _getRecombinationInfoSortOrder (void) const

Private Attributes

bool _isMissing
std::string _haplotype
RECOMBINATION_INFO _recombination

Static Private Attributes

static std::set< std::string > _haplotypeMissingValue

Member Enumeration Documentation

enum Haplotype::RECOMBINATION_INFO
 

Enumerator:
MISSING_INFO 
NO_INFORMATION 
NO_RECOMBINATION 
MATERNAL_RECOMBINATION 
PATERNAL_RECOMBINATION 
BOTH_RECOMBINE 


Constructor & Destructor Documentation

Haplotype::Haplotype  )  [inline]
 

Haplotype::Haplotype const char *  h  )  [inline]
 

Haplotype::Haplotype const std::string &  h  )  [inline]
 


Member Function Documentation

unsigned char Haplotype::_getRecombinationInfoSortOrder void   )  const [private]
 

static void Haplotype::addHaplotypeMissingValue std::string  value  )  [inline, static]
 

Haplotype * Haplotype::clone  )  const [virtual]
 

Implements Data.

const std::string Haplotype::get void   )  const [virtual]
 

Implements Data.

const std::string Haplotype::getAlleleFromDad void   )  const
 

const std::string Haplotype::getAlleleFromMom void   )  const
 

const DATATYPE Haplotype::getDataType void   )  const [inline, virtual]
 

Implements Data.

Haplotype::RECOMBINATION_INFO Haplotype::getRecombinationInfo void   )  const
 

bool Haplotype::isMissing void   )  const [inline, virtual]
 

Implements Data.

bool Haplotype::isMissingValue std::string  value  )  [static]
 

bool Haplotype::operator< const Data b  )  const [virtual]
 

Implements Data.

bool Haplotype::operator== const Data b  )  const [virtual]
 

Implements Data.

void Haplotype::set const std::string &  haplotype  )  [virtual]
 

Implements Data.

void Haplotype::set const char *  haplotype  )  [virtual]
 

Implements Data.

void Haplotype::setMissing void   )  [virtual]
 

Implements Data.


Member Data Documentation

std::string Haplotype::_haplotype [private]
 

std::set< std::string > Haplotype::_haplotypeMissingValue [static, private]
 

bool Haplotype::_isMissing [private]
 

RECOMBINATION_INFO Haplotype::_recombination [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 18 16:24:39 2011 for MADELINE by  doxygen 1.4.4