#include <MadelineTable.h>
Inheritance diagram for MadelineTable:
Public Member Functions | |
void | debug (void) |
int | getBlockCount (void) |
void | setFile (const char *fileName) |
void | setString (std::string inString) |
MadelineTable () | |
~MadelineTable () | |
const char * | getColumnName (unsigned columnIndex) |
DATATYPE | getColumnType (unsigned columnIndex) |
std::string | getData (unsigned columnIndex, unsigned long rowIndex) |
void | display (void) |
Private Member Functions | |
void | _readFile (const char *fileName) |
void | _readString (const std::string inString) |
void | _getLineCount (void) |
void | _allocateLineInformationVector (void) |
void | _assignLinePointers (void) |
void | _determineNumberOfBlocks (void) |
void | _assignRecordTypes (void) |
void | _checkDataBlockRectangularity (void) |
void | _calculateColumnFillRates (void) |
void | _determineNumberOfColumns (void) |
void | _determineFieldBoundaries (void) |
char * | _readAndNullTerminateColumnName (char *beginning, const char *headerEnd, ColumnOffset &columnOffset) |
char * | _readColumnType (char *beginning, const char *headerEnd, ColumnOffset &columnOffset) |
void | _parseHeader (void) |
void | _fillVectors () |
Private Attributes | |
char * | _header |
char * | _buffer |
LineInformation * | _lineInfo |
unsigned long | _lines |
int | _blocks |
const char * | _data |
unsigned long | _firstDataRow |
unsigned long | _dataRows |
unsigned long | _lastDataRow |
int | _length |
unsigned long | _firstHeaderRow |
unsigned long | _headerRows |
unsigned long | _lastHeaderRow |
unsigned | _dataColumns |
unsigned long * | _fill |
ColumnOffset * | _columnOffset |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_readColumnType() : sets the declared type Allowed field types are: C -- character N -- numeric D -- date G -- genotype A -- allele X -- character-type gender field enum COLUMNTYPE{ ALLELE, DATE, GENDER, GENOTYPE, HAPLOTYPE, MISSING, NUMBER, STRING, UNCLASSIFIED }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|