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

Gender Class Reference

Gender is data type derived from Boolean. More...

#include <Gender.h>

Inheritance diagram for Gender:

Boolean Data List of all members.

Public Types

enum  GENDER { MALE, FEMALE, MISSING }

Public Member Functions

 Gender ()
 Gender (const char *value)
 Gender (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 (GENDER gender)
const GENDER getEnum (void) const

Static Public Member Functions

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

Static Private Attributes

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

Friends

class GenderMapLoader

Detailed Description

Gender is data type derived from Boolean.


Member Enumeration Documentation

enum Gender::GENDER
 

Enumerator:
MALE 
FEMALE 
MISSING 


Constructor & Destructor Documentation

Gender::Gender  )  [inline]
 

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

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


Member Function Documentation

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.

const GENDER Gender::getEnum void   )  const [inline]
 

bool Gender::isA std::string  inString  )  [static]
 

void Gender::set GENDER  gender  ) 
 

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.


Friends And Related Function Documentation

friend class GenderMapLoader [friend]
 


Member Data Documentation

std::map< std::string, bool > Gender::_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