|
COOPY » Guide
version 0.6.5
|
#include <WideSheetManager.h>
Public Member Functions | |
| WideSheetManager () | |
| WideSheetManager (bool create, const char *fname=NULL) | |
| ~WideSheetManager () | |
| bool | connect (bool create=false, const char *fname=NULL) |
| bool | disconnect () |
| bool | isValid () |
| bool | setProperty (const char *key, const char *val) |
| std::string | getProperty (const char *key) |
| std::string | getPropertyWithDefault (const char *key) |
| bool | exportSheet () |
| bool | acceptSheet () |
| bool | diffSheet () |
| sqlite3 * | get () |
| std::string | linkTable () |
| bool | setFile (const char *key, const char *val) |
| std::string | getFile (const char *key) |
| bool | exportSheet (const char *key, bool reverse=false) |
| bool | importSheet (const char *key) |
| bool | setDirectory (const char *dir, const char *sep="/") |
| bool | mergeToLocal (const char *local, const char *remote, const char *pivot, const char *log) |
Definition at line 9 of file WideSheetManager.h.
| WideSheetManager::WideSheetManager | ( | ) | [inline] |
Definition at line 16 of file WideSheetManager.h.
| WideSheetManager::WideSheetManager | ( | bool | create, |
| const char * | fname = NULL |
||
| ) | [inline] |
Definition at line 21 of file WideSheetManager.h.
References connect().
| WideSheetManager::~WideSheetManager | ( | ) |
Definition at line 42 of file WideSheetManager.cpp.
| bool WideSheetManager::acceptSheet | ( | ) |
Definition at line 173 of file WideSheetManager.cpp.
References coopy::store::PolyBook::read(), and coopy::store::PolyBook::write().
Referenced by main().
| bool WideSheetManager::connect | ( | bool | create = false, |
| const char * | fname = NULL |
||
| ) |
Definition at line 46 of file WideSheetManager.cpp.
References NULL.
Referenced by WideSheetManager().
| bool WideSheetManager::diffSheet | ( | ) |
Definition at line 194 of file WideSheetManager.cpp.
References coopy::cmp::BookCompare::compare(), F_OK, coopy::cmp::CompareFlags::out, and coopy::store::PolyBook::read().
Referenced by main().
| bool WideSheetManager::disconnect | ( | ) |
Definition at line 100 of file WideSheetManager.cpp.
References NULL.
| bool WideSheetManager::exportSheet | ( | ) |
Definition at line 152 of file WideSheetManager.cpp.
References coopy::store::PolyBook::read(), and coopy::store::PolyBook::write().
Referenced by importSheet(), and main().
| bool WideSheetManager::exportSheet | ( | const char * | key, |
| bool | reverse = false |
||
| ) |
Definition at line 274 of file WideSheetManager.cpp.
References coopy::store::PolyBook::read(), and coopy::store::PolyBook::write().
| sqlite3* WideSheetManager::get | ( | ) | [inline] |
Definition at line 47 of file WideSheetManager.h.
| std::string WideSheetManager::getFile | ( | const char * | key | ) |
Definition at line 249 of file WideSheetManager.cpp.
References NULL.
| std::string WideSheetManager::getProperty | ( | const char * | key | ) |
Definition at line 118 of file WideSheetManager.cpp.
References NULL.
| std::string WideSheetManager::getPropertyWithDefault | ( | const char * | key | ) |
Definition at line 138 of file WideSheetManager.cpp.
Referenced by showStatus().
| bool WideSheetManager::importSheet | ( | const char * | key | ) | [inline] |
Definition at line 61 of file WideSheetManager.h.
References exportSheet().
| bool WideSheetManager::isValid | ( | ) | [inline] |
Definition at line 31 of file WideSheetManager.h.
Referenced by main().
| std::string WideSheetManager::linkTable | ( | ) | [inline] |
Definition at line 51 of file WideSheetManager.h.
| bool WideSheetManager::mergeToLocal | ( | const char * | local, |
| const char * | remote, | ||
| const char * | pivot, | ||
| const char * | log | ||
| ) |
Definition at line 321 of file WideSheetManager.cpp.
References coopy::cmp::Patcher::attachBook(), cc, coopy::cmp::BookCompare::compare(), COOPY_ASSERT, coopy::cmp::SheetPatcher::getChangeCount(), coopy::store::PolyBook::inplace(), NULL, coopy::store::PolyBook::read(), coopy::cmp::Patcher::setFlags(), coopy::cmp::SheetPatcher::showSummary(), start_output2(), stop_output2(), and coopy::store::PolyBook::write().
| bool WideSheetManager::setDirectory | ( | const char * | dir, |
| const char * | sep = "/" |
||
| ) |
Definition at line 268 of file WideSheetManager.cpp.
| bool WideSheetManager::setFile | ( | const char * | key, |
| const char * | val | ||
| ) |
Definition at line 233 of file WideSheetManager.cpp.
References NULL, and sql_enact().
| bool WideSheetManager::setProperty | ( | const char * | key, |
| const char * | val | ||
| ) |
Definition at line 108 of file WideSheetManager.cpp.
References NULL, and sql_enact().
Referenced by main().
1.7.4