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

Carrier Class Reference

Carrier is a data type derived from Boolean. More...

#include <Carrier.h>

Inheritance diagram for Carrier:

Boolean Data List of all members.

Public Types

enum  CARRIER { NOT_CARRIER, IS_CARRIER, MISSING }

Public Member Functions

 Carrier ()
 Carrier (const char *value)
 Carrier (const std::string &value)
void set (const char *value)
void set (const std::string &value)
const std::string get (void) const
void set (const bool value)
void set (CARRIER carrier)
const CARRIER getEnum (void) const

Static Public Member Functions

static void addLookupTableEntry (std::string label, bool value)

Static Private Attributes

static std::map< std::string,
bool > 
_lookupTable

Friends

class CarrierMapLoader

Detailed Description

Carrier is a data type derived from Boolean.

Carrier keeps track of whether an individual is a carrier of a genetic trait.


Member Enumeration Documentation

enum Carrier::CARRIER
 

Enumerator:
NOT_CARRIER 
IS_CARRIER 
MISSING 


Constructor & Destructor Documentation

Carrier::Carrier  )  [inline]
 

Carrier::Carrier const char *  value  )  [inline]
 

Carrier::Carrier const std::string &  value  )  [inline]
 


Member Function Documentation

void Carrier::addLookupTableEntry std::string  label,
bool  value
[static]
 

Reimplemented from Boolean.

const std::string Carrier::get void   )  const [inline, virtual]
 

Reimplemented from Boolean.

const CARRIER Carrier::getEnum void   )  const [inline]
 

void Carrier::set CARRIER  carrier  ) 
 

void Carrier::set const bool  value  )  [inline, virtual]
 

Reimplemented from Boolean.

void Carrier::set const std::string &  value  )  [virtual]
 

Reimplemented from Boolean.

void Carrier::set const char *  value  )  [virtual]
 

Reimplemented from Boolean.


Friends And Related Function Documentation

friend class CarrierMapLoader [friend]
 


Member Data Documentation

std::map< std::string, bool > Carrier::_lookupTable [static, private]
 

Reimplemented from Boolean.


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