COOPY » Guide  version 0.6.5
Public Member Functions
WideSheetManager Class Reference

#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)

Detailed Description

Definition at line 9 of file WideSheetManager.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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 ( )
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 
)
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 
)
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().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines