|
Public Member Functions |
| ColumnClassifier () |
void | scan (const char *p, int stt, int end) |
void | scan (const char *s) |
void | scan (const std::string &s) |
void | resetCounters (void) |
DATATYPE | classify (void) |
Private Member Functions |
bool | _isEmptyOrDot (const char *p, int stt, int end) |
bool | _isGender (const char *p, int stt, int end) |
bool | _isNumeric (const char *p, int stt, int end) |
bool | _isGenotype (const char *p, int stt, int end) |
bool | _isDate (const char *p, int stt, int end) |
bool | _isASCII (const char *p, int stt, int end) |
Private Attributes |
int | _missingOrDotCounter |
int | _numericCounter |
int | _dateCounter |
int | _genotypeCounter |
int | _genderCounter |
int | _totalCounter |
const char * | test |
const char * | _stt |
const char * | _end |
Static Private Attributes |
static const char | _THOUSANDS_SEPARATOR = ',' |
static const char | _DECIMAL_CHARACTER = '.' |