|
COOPY » Guide
version 0.6.5
|
#include <JackSheet.h>
Public Member Functions | |
| virtual std::string | getSheetName () const |
| virtual ColumnInfo | getColumnInfo (int x) const |
| virtual int | getColumnCount () const |
| virtual bool | providesPrimaryKeys () const |
| virtual int | headerHeight () const |
| virtual int | getColumnIndexByName (const char *name) const |
| virtual bool | hasSheetName () const |
| virtual SheetSchema * | clone () const |
| virtual bool | isGuess () const |
| virtual bool | addedHeader () |
| virtual bool | deleteColumn (const ColumnRef &column) |
| virtual ColumnRef | insertColumn (const ColumnRef &column, const ColumnInfo &info) |
| virtual ColumnRef | moveColumn (const ColumnRef &src, const ColumnRef &base) |
| virtual bool | modifyColumn (const ColumnRef &column, const ColumnInfo &info) |
| virtual bool | setHeaderHeight (int hh) |
| virtual std::string | toString () const |
| virtual bool | isShadow () const |
| virtual bool | copy (const SheetSchema &ss) |
| int | addReference () |
| int | removeReference () |
| int | getReferenceCount () |
Data Fields | |
| JackSheet * | sheet |
Definition at line 90 of file JackSheet.h.
| virtual bool coopy::store::SheetSchema::addedHeader | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 64 of file SheetSchema.h.
References COOPY_ASSERT.
Referenced by coopy::store::DataSheet::addedHeader().
| int coopy::store::RefCount::addReference | ( | ) | [inline, inherited] |
Definition at line 30 of file RefCount.h.
Referenced by coopy::store::PolyBook::attach(), coopy::fold::FoldedCell::FoldedCell(), coopy::fold::FoldedCell::getOrCreateSheet(), coopy::store::PolyBook::operator=(), coopy::store::PolyValue::operator=(), coopy::store::PolySheet::operator=(), coopy::fold::FoldedCell::operator=(), coopy::store::PolyBook::PolyBook(), coopy::store::PolySheet::PolySheet(), coopy::store::PolyValue::PolyValue(), coopy::store::PolySheet::setSchema(), and coopy::store::PolyBook::take().
| SheetSchema * SheetSchema::clone | ( | ) | const [virtual, inherited] |
Definition at line 8 of file SheetSchema.cpp.
References coopy::store::SimpleSheetSchema::addColumn(), coopy::store::ColumnInfo::getColumnType(), coopy::store::ColumnInfo::getName(), NULL, coopy::store::SimpleSheetSchema::setHeaderHeight(), and coopy::store::SimpleSheetSchema::setSheetName().
Referenced by coopy::cmp::Patcher::metaHint(), coopy::store::PolySheet::mustHaveSchema(), coopy::store::ShortTextBook::provideSheet(), and coopy::store::PolySheet::setMeta().
| virtual bool coopy::store::SheetSchema::copy | ( | const SheetSchema & | ss | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 104 of file SheetSchema.h.
| virtual bool coopy::store::SheetSchema::deleteColumn | ( | const ColumnRef & | column | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 70 of file SheetSchema.h.
Referenced by coopy::store::PolySheet::deleteColumn().
| virtual int coopy::store::mdb::JackSheetSchema::getColumnCount | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 102 of file JackSheet.h.
References coopy::store::mdb::JackSheet::getColumnCount(), and sheet.
| virtual int coopy::store::SheetSchema::getColumnIndexByName | ( | const char * | name | ) | const [inline, virtual, inherited] |
Definition at line 36 of file SheetSchema.h.
References coopy::store::SheetSchema::getColumnCount(), coopy::store::SheetSchema::getColumnInfo(), and coopy::store::ColumnInfo::getName().
Referenced by coopy::cmp::BookCompare::resolve().
| virtual ColumnInfo coopy::store::mdb::JackSheetSchema::getColumnInfo | ( | int | x | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 98 of file JackSheet.h.
References coopy::store::mdb::JackSheet::getColumnInfo(), and sheet.
| int coopy::store::RefCount::getReferenceCount | ( | ) | [inline, inherited] |
Definition at line 40 of file RefCount.h.
| virtual std::string coopy::store::mdb::JackSheetSchema::getSheetName | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 94 of file JackSheet.h.
References coopy::store::mdb::JackSheet::getName(), and sheet.
| virtual bool coopy::store::SheetSchema::hasSheetName | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 54 of file SheetSchema.h.
Referenced by coopy::store::CsvTextBook::addSheet().
| virtual int coopy::store::SheetSchema::headerHeight | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 28 of file SheetSchema.h.
Referenced by coopy::store::SimpleSheetSchema::copy(), coopy::store::DataSheet::encode(), coopy::store::PolySheet::setRowOffset(), and coopy::store::NameSniffer::sniff().
| virtual ColumnRef coopy::store::SheetSchema::insertColumn | ( | const ColumnRef & | column, |
| const ColumnInfo & | info | ||
| ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 74 of file SheetSchema.h.
Referenced by coopy::store::PolySheet::insertColumn().
| virtual bool coopy::store::SheetSchema::isGuess | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 60 of file SheetSchema.h.
Referenced by coopy::store::SimpleSheetSchema::copy(), and coopy::store::NameSniffer::sniff().
| virtual bool coopy::store::SheetSchema::isShadow | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::sqlite::SqliteSheetSchema.
Definition at line 100 of file SheetSchema.h.
Referenced by coopy::store::PolySheet::deleteColumn(), coopy::store::PolySheet::insertColumn(), coopy::store::PolySheet::modifyColumn(), and coopy::store::PolySheet::moveColumn().
| virtual bool coopy::store::SheetSchema::modifyColumn | ( | const ColumnRef & | column, |
| const ColumnInfo & | info | ||
| ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 86 of file SheetSchema.h.
Referenced by coopy::fold::FoldTool::fold(), and coopy::store::PolySheet::modifyColumn().
| virtual ColumnRef coopy::store::SheetSchema::moveColumn | ( | const ColumnRef & | src, |
| const ColumnRef & | base | ||
| ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 80 of file SheetSchema.h.
Referenced by coopy::store::PolySheet::moveColumn().
| virtual bool coopy::store::mdb::JackSheetSchema::providesPrimaryKeys | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 106 of file JackSheet.h.
| int coopy::store::RefCount::removeReference | ( | ) | [inline, inherited] |
Definition at line 35 of file RefCount.h.
Referenced by coopy::store::PolyBook::clear(), coopy::store::PolyValue::clear(), coopy::store::PolySheet::clearSchema(), coopy::store::PolySheet::clearSheet(), and coopy::store::PolyBook::give().
| virtual bool coopy::store::SheetSchema::setHeaderHeight | ( | int | hh | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 92 of file SheetSchema.h.
Referenced by coopy::store::TextBook::copy(), and coopy::store::PolySheet::createHeaders().
| virtual std::string coopy::store::SheetSchema::toString | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::SimpleSheetSchema.
Definition at line 96 of file SheetSchema.h.
Referenced by coopy::store::TextBook::copy(), and coopy::store::NameSniffer::sniff().
Definition at line 92 of file JackSheet.h.
Referenced by getColumnCount(), getColumnInfo(), and getSheetName().
1.7.4