#include <Data.h>
Inheritance diagram for Data:
Public Member Functions | |
Data () | |
virtual | ~Data () |
virtual bool | isMissing (void) const =0 |
virtual void | setMissing (void)=0 |
virtual void | set (const std::string &)=0 |
virtual void | set (const char *)=0 |
virtual const std::string | get (void) const =0 |
virtual const DATATYPE | getDataType (void) const =0 |
virtual Data * | clone () const =0 |
virtual bool | operator== (const Data &) const =0 |
virtual bool | operator< (const Data &) const =0 |
Static Public Member Functions | |
static void | addGlobalMissingValue (std::string value) |
static bool | isGlobalMissingValue (std::string value) |
static std::string & | trim (std::string &s, const std::string &drop=" ") |
Static Protected Attributes | |
static std::set< std::string > | _missingValue |
Static Private Attributes | |
static bool | _displayNumberSeparators |
static bool | _displayNativeDigitsInDates |
static bool | _displayNativeDigitsInNumbers |
Friends | |
class | DataMissingValueLoader |
|
|
|
|
|
addGlobalMissingValue: The default missing value is "." for all data types. The user can specify an alternative missing value by calling this static method. |
|
Implemented in Boolean, Date, Genotype, Haplotype, Number, and String. |
|
Implemented in Boolean, Carrier, Consultand, Date, Gender, Genotype, Haplotype, LivingDead, Number, Proband, Sampled, String, and Twin. |
|
Implemented in Boolean, Date, Genotype, Haplotype, Number, and String. |
|
|
|
Implemented in Boolean, Date, Genotype, Haplotype, Number, and String. |
|
Implemented in Boolean, Date, Genotype, Haplotype, Number, and String. |
|
Implemented in Boolean, Date, Genotype, Haplotype, Number, and String. |
|
Implemented in Affected, Boolean, Carrier, Consultand, Date, Gender, Genotype, Haplotype, Infertility, LivingDead, Number, Proband, RelationshipEnded, Sampled, Sterility, and String. |
|
Implemented in Boolean, Carrier, Consultand, Date, Gender, Genotype, Haplotype, LivingDead, Number, Proband, Sampled, and String. |
|
Implemented in Boolean, Date, Genotype, Haplotype, Number, and String. |
|
trim(): Trim takes a non-const *reference* to a string and modifies the original string, and returns a reference to the original string: Also note that the default "drop" string in Data.h contains numerous Unicode space characters like ZWSP, NBSP, ZWNBSP, N SPACE, M SPACE, etc.: |
|
|
|
|
|
|
|
|
|
|