COOPY » Guide
version 0.6.5
|
Schema of a MS Access table. More...
#include <AccessSheet.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 | |
AccessSheet * | sheet |
Schema of a MS Access table.
Definition at line 87 of file AccessSheet.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::AccessSheetSchema::getColumnCount | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 99 of file AccessSheet.h.
References coopy::store::mdb::AccessSheet::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::AccessSheetSchema::getColumnInfo | ( | int | x | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 95 of file AccessSheet.h.
References coopy::store::mdb::AccessSheet::getColumnInfo(), and sheet.
int coopy::store::RefCount::getReferenceCount | ( | ) | [inline, inherited] |
Definition at line 40 of file RefCount.h.
virtual std::string coopy::store::mdb::AccessSheetSchema::getSheetName | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 91 of file AccessSheet.h.
References coopy::store::mdb::AccessSheet::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::AccessSheetSchema::providesPrimaryKeys | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::SheetSchema.
Definition at line 103 of file AccessSheet.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 89 of file AccessSheet.h.
Referenced by getColumnCount(), getColumnInfo(), and getSheetName().