|
COOPY » Guide
version 0.6.5
|
#include <PoolImpl.h>
Public Member Functions | |
| void | attachBook (PolyBook &book) |
| bool | load () |
| bool | save () |
| virtual bool | create (const std::string &key, const std::string &table_name, const std::string &column_name, bool invent) |
| virtual PoolColumnLink | lookup (const std::string &table_name, const std::string &column_name) |
| virtual PoolRecord & | lookup (const std::string &table_name, const std::string &column_name, const SheetCell &val, bool &match) |
| virtual PoolColumnLink | trace (const PoolColumnLink &src) |
| void | setScanned () |
| bool | isScanned () const |
Definition at line 50 of file PoolImpl.h.
| void coopy::store::PoolImpl::attachBook | ( | PolyBook & | book | ) | [inline] |
Definition at line 67 of file PoolImpl.h.
References load().
Referenced by coopy::app::Diff::apply().
| bool PoolImpl::create | ( | const std::string & | key, |
| const std::string & | table_name, | ||
| const std::string & | column_name, | ||
| bool | invent | ||
| ) | [virtual] |
Implements coopy::store::Pool.
Definition at line 9 of file PoolImpl.cpp.
References coopy::store::PoolLinkImpl::column_name, dbg_printf, coopy::store::PoolLinkImpl::invent, coopy::store::PoolLinkImpl::name, and coopy::store::PoolLinkImpl::table_name.
| bool coopy::store::Pool::isScanned | ( | ) | const [inline, inherited] |
| bool PoolImpl::load | ( | ) |
Definition at line 73 of file PoolImpl.cpp.
References coopy::store::PolySheet::cellSummary(), dbg_printf, coopy::store::PolySheet::height(), coopy::store::PoolSlice::item, coopy::store::PoolSlice::pool_name, and coopy::store::SheetCell::toString().
Referenced by attachBook().
| PoolColumnLink PoolImpl::lookup | ( | const std::string & | table_name, |
| const std::string & | column_name | ||
| ) | [virtual] |
Implements coopy::store::Pool.
Definition at line 50 of file PoolImpl.cpp.
| PoolRecord & PoolImpl::lookup | ( | const std::string & | table_name, |
| const std::string & | column_name, | ||
| const SheetCell & | val, | ||
| bool & | match | ||
| ) | [virtual] |
Implements coopy::store::Pool.
Definition at line 35 of file PoolImpl.cpp.
References coopy::store::PoolColumnLink::getColumn(), coopy::store::PoolColumnLink::isValid(), and coopy::store::PoolColumn::lookupMod().
| bool PoolImpl::save | ( | ) |
Definition at line 89 of file PoolImpl.cpp.
References coopy::store::SimpleSheetSchema::addColumn(), dbg_printf, coopy::store::PolySheet::deleteData(), coopy::store::PolySheet::insertRow(), coopy::store::PoolSlice::item, and coopy::store::SimpleSheetSchema::setSheetName().
Referenced by coopy::app::Diff::apply().
| void coopy::store::Pool::setScanned | ( | ) | [inline, inherited] |
Definition at line 129 of file Pool.h.
Referenced by coopy::cmp::MergeOutputFilter::mergeAllDone().
| PoolColumnLink PoolImpl::trace | ( | const PoolColumnLink & | src | ) | [virtual] |
Implements coopy::store::Pool.
Definition at line 67 of file PoolImpl.cpp.
References coopy::store::PoolLinkImpl::column_name, coopy::store::PoolColumnLink::getPoolName(), coopy::store::PoolLinkImpl::invent, coopy::store::PoolLinkImpl::name, and coopy::store::PoolLinkImpl::table_name.
1.7.4