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

LivingDead Class Reference

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

#include <LivingDead.h>

Inheritance diagram for LivingDead:

Boolean Data List of all members.

Public Types

enum  LIVINGDEAD { ALIVE, DEAD, MISSING }

Public Member Functions

 LivingDead ()
 LivingDead (const char *value)
 LivingDead (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 (LIVINGDEAD livingdead)
const LIVINGDEAD 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 LivingDeadMapLoader

Detailed Description

LivingDead is a data type derived from Boolean.

It keeps track of the deceased status of individuals


Member Enumeration Documentation

enum LivingDead::LIVINGDEAD
 

Enumerator:
ALIVE 
DEAD 
MISSING 


Constructor & Destructor Documentation

LivingDead::LivingDead  )  [inline]
 

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

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


Member Function Documentation

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.

const LIVINGDEAD LivingDead::getEnum void   )  const [inline]
 

void LivingDead::set LIVINGDEAD  livingdead  ) 
 

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.


Friends And Related Function Documentation

friend class LivingDeadMapLoader [friend]
 


Member Data Documentation

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