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

Sampled Class Reference

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

#include <Sampled.h>

Inheritance diagram for Sampled:

Boolean Data List of all members.

Public Types

enum  SAMPLED { NOT_SAMPLED, IS_SAMPLED, MISSING }

Public Member Functions

 Sampled ()
 Sampled (const char *value)
 Sampled (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 (SAMPLED sampled)
const SAMPLED 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 SampledMapLoader

Detailed Description

Sampled is a data type derived from Boolean.

Sampled keeps track of the Sampled status of an individual.


Member Enumeration Documentation

enum Sampled::SAMPLED
 

Enumerator:
NOT_SAMPLED 
IS_SAMPLED 
MISSING 


Constructor & Destructor Documentation

Sampled::Sampled  )  [inline]
 

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

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


Member Function Documentation

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.

const SAMPLED Sampled::getEnum void   )  const [inline]
 

void Sampled::set SAMPLED  sampled  ) 
 

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.

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

Reimplemented from Boolean.


Friends And Related Function Documentation

friend class SampledMapLoader [friend]
 


Member Data Documentation

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