COOPY » Guide
version 0.6.5
|
#include <DataStat.h>
Public Member Functions | |
DataStat () | |
void | clear () |
void | evaluate (const coopy::store::DataSheet &sheet) |
void | evaluate2 (const coopy::store::DataSheet &sheet, const coopy::cmp::CompareFlags &flags) |
const std::vector < coopy::store::ColumnType > & | suggestTypes () const |
int | getRowDivider () |
Data Fields | |
std::vector< DataColumn > | col |
std::vector < coopy::store::ColumnType > | ct |
coopy::store::FloatSheet | oddness |
coopy::store::FloatSheet | oddness_accum |
Definition at line 15 of file DataStat.h.
coopy::cmp::DataStat::DataStat | ( | ) | [inline] |
Definition at line 19 of file DataStat.h.
References clear().
void coopy::cmp::DataStat::clear | ( | ) | [inline] |
void DataStat::evaluate | ( | const coopy::store::DataSheet & | sheet | ) |
Definition at line 12 of file DataStat.cpp.
Referenced by main().
void DataStat::evaluate2 | ( | const coopy::store::DataSheet & | sheet, |
const coopy::cmp::CompareFlags & | flags | ||
) |
Definition at line 121 of file DataStat.cpp.
References coopy::store::DataSheet::cellString(), coopy::store::DataSheet::cellSummary(), coopy::cmp::Nature::compare(), coopy::cmp::Nature::couldBeInteger(), dbg_printf, coopy::store::SheetCell::escaped, coopy::cmp::DataColumn::getNature(), coopy::store::DataSheet::height(), coopy::cmp::CompareFlags::ids, coopy::store::ColumnType::setType(), coopy::cmp::DataColumn::unevaluate(), and coopy::store::DataSheet::width().
Referenced by coopy::store::NameSniffer::sniff().
int coopy::cmp::DataStat::getRowDivider | ( | ) | [inline] |
Definition at line 42 of file DataStat.h.
Referenced by main(), and coopy::store::NameSniffer::sniff().
const std::vector<coopy::store::ColumnType>& coopy::cmp::DataStat::suggestTypes | ( | ) | const [inline] |
Definition at line 38 of file DataStat.h.
References ct.
Referenced by coopy::store::NameSniffer::sniff().
std::vector<DataColumn> coopy::cmp::DataStat::col |
Definition at line 23 of file DataStat.h.
std::vector<coopy::store::ColumnType> coopy::cmp::DataStat::ct |
Definition at line 24 of file DataStat.h.
Referenced by clear(), and suggestTypes().
Definition at line 25 of file DataStat.h.
Definition at line 26 of file DataStat.h.