creaImageIO_lib
creaImageIOSynchron.cpp File Reference
#include <creaImageIOSynchron.h>
#include <creaImageIOSystem.h>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
Include dependency graph for creaImageIOSynchron.cpp:

Go to the source code of this file.

Namespaces

namespace  creaImageIO
 

Macros

#define QUERYSYNCDB(QUER, RES)
 
#define UPDATESYNCDB(UP)
 

Macro Definition Documentation

#define QUERYSYNCDB (   QUER,
  RES 
)
Value:
try \
{ \
RES = mDB->execQuery(QUER.c_str()); \
} \
catch (CppSQLite3Exception& e) \
{ \
GimmickError("SQLite query '"<<QUER<<"' Error : " \
<< e.errorCode() << ":" \
<< e.errorMessage() ); \
}

Definition at line 43 of file creaImageIOSynchron.cpp.

Referenced by creaImageIO::Synchronizer::GetAttribute(), creaImageIO::Synchronizer::GetIgnoreList(), creaImageIO::Synchronizer::GetList(), and creaImageIO::Synchronizer::UpdateAddList().

#define UPDATESYNCDB (   UP)
Value:
try \
{ \
mDB->execDML(UP.c_str()); \
} \
catch (CppSQLite3Exception& e) \
{ \
GimmickError("SQLite update '"<<UP<<"' Error : " \
<< e.errorCode() << ":" \
<< e.errorMessage() ); \
}

Definition at line 55 of file creaImageIOSynchron.cpp.

Referenced by creaImageIO::Synchronizer::CreateDB(), creaImageIO::Synchronizer::InsertAddOp(), creaImageIO::Synchronizer::InsertIgnoreFile(), creaImageIO::Synchronizer::RemoveEntries(), creaImageIO::Synchronizer::RemoveEntry(), and creaImageIO::Synchronizer::SetAttribute().