COOPY » Guide
version 0.6.5
|
#include <SchemaSniffer.h>
Public Member Functions | |
SchemaSniffer () | |
SchemaSniffer (const DataSheet &sheet, const char *name=NULL, bool delayed=false) | |
virtual | ~SchemaSniffer () |
void | setSheet (const DataSheet &sheet, const char *name=NULL, bool delayed=false) |
void | sniff (bool force=false) |
void | resniff (coopy::store::SchemaSniffer &alt) |
virtual SheetSchema * | suggestSchema () |
Definition at line 14 of file SchemaSniffer.h.
coopy::store::SchemaSniffer::SchemaSniffer | ( | ) | [inline] |
Definition at line 23 of file SchemaSniffer.h.
coopy::store::SchemaSniffer::SchemaSniffer | ( | const DataSheet & | sheet, |
const char * | name = NULL , |
||
bool | delayed = false |
||
) | [inline] |
Definition at line 29 of file SchemaSniffer.h.
References setSheet().
virtual coopy::store::SchemaSniffer::~SchemaSniffer | ( | ) | [inline, virtual] |
Definition at line 36 of file SchemaSniffer.h.
void SchemaSniffer::resniff | ( | coopy::store::SchemaSniffer & | alt | ) |
Definition at line 85 of file SchemaSniffer.cpp.
Referenced by coopy::cmp::SheetCompare::compare().
void coopy::store::SchemaSniffer::setSheet | ( | const DataSheet & | sheet, |
const char * | name = NULL , |
||
bool | delayed = false |
||
) | [inline] |
void SchemaSniffer::sniff | ( | bool | force = false | ) |
Definition at line 15 of file SchemaSniffer.cpp.
References COOPY_ASSERT, dbg_printf, coopy::store::NameSniffer::getHeaderHeight(), Stringer::getSpreadsheetColumnName(), coopy::store::NameSniffer::isFake(), Stringer::nextSpreadsheetColumnName(), NULL, coopy::store::ColumnType::size, coopy::store::IndexSniffer::suggestIndexes(), coopy::store::NameSniffer::suggestNames(), and coopy::store::NameSniffer::suggestTypes().
Referenced by coopy::cmp::SheetCompare::compare(), and setSheet().
SheetSchema * SchemaSniffer::suggestSchema | ( | ) | [virtual] |
Definition at line 81 of file SchemaSniffer.cpp.
Referenced by coopy::cmp::SheetCompare::compare(), coopy::store::TextBook::equals(), coopy::fold::FoldTool::fold(), and coopy::store::PolySheet::mustHaveSchema().