cctw  0.2.1
Enumerations | Functions | Variables
cctwapplication.cpp File Reference
#include "cctwapplication.h"
#include "cctwcrystalcoordinatetransform.h"
#include "cctwtransformer.h"
#include <QScriptValue>
#include "cctwscriptengine.h"
#include "qcepproperty.h"
#include "cctwdebug.h"
#include "qcepsettingssaver.h"
#include <QtConcurrentRun>
#include <QFile>
#include "cctwintvector3dproperty.h"
#include "cctwdoublevector3dproperty.h"
#include "cctwdoublematrix3x3property.h"
#include "cctwunitcellproperty.h"
#include "cctwthread.h"
#include "cctwdatachunk.h"
#include <hdf5.h>
#include "lzf_filter.h"
Include dependency graph for cctwapplication.cpp:

Go to the source code of this file.

Enumerations

enum  { TransformMode = 1, MergeMode = 2, NormMode = 3, ProjectMode = 4 }
 

Functions

static herr_t cctwH5print (unsigned n, const H5E_error2_t *eptr, void *data)
 
static herr_t cctwH5error (hid_t h, void *data)
 

Variables

QcepSettingsSaverPtr g_Saver
 

Enumeration Type Documentation

anonymous enum
Enumerator
TransformMode 
MergeMode 
NormMode 
ProjectMode 

Definition at line 39 of file cctwapplication.cpp.

Function Documentation

static herr_t cctwH5error ( hid_t  h,
void *  data 
)
static

Definition at line 463 of file cctwapplication.cpp.

References CctwApplication::printHDF5errors().

Referenced by CctwApplication::installHDF5ErrorHandler().

464 {
465  CctwApplication *app = (CctwApplication*) data;
466 
467  if (app) {
468  app->printHDF5errors();
469  }
470 
471  return 0;
472 }
static herr_t cctwH5print ( unsigned  n,
const H5E_error2_t *  eptr,
void *  data 
)
static

Definition at line 445 of file cctwapplication.cpp.

References CctwApplication::printMessage().

Referenced by CctwApplication::printHDF5errors().

446 {
447  CctwApplication *app = (CctwApplication*) data;
448 
449  if (app) {
450  app->printMessage(QObject::tr("%1:%2 : %3").arg(eptr->file_name).arg(eptr->line).arg(eptr->desc));
451  }
452 
453  return 0;
454 }
void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime())

Variable Documentation

QcepSettingsSaverPtr g_Saver

Definition at line 31 of file cctwapplication.cpp.

Referenced by CctwApplication::CctwApplication().