QXRD  0.11.16
Macros | Typedefs
qcepmacros.h File Reference

(Commit a65ccc9... : jennings : 2016-03-15 14:00:18 -0500)

#include <QVector>
#include <QList>
#include <QMetaType>
#include <QPointF>
#include <QRectF>
Include dependency graph for qcepmacros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define GUI_THREAD_CHECK   Q_ASSERT(qApp && qApp ->thread() == QThread::currentThread())
#define THREAD_CHECK   Q_ASSERT(QThread::currentThread() == thread())
#define INVOKE_CHECK(res)   if(!res) { printf("Invoke failed File %s, Line %d\n", __FILE__, __LINE__); }
#define CONNECT_CHECK(res)   if(!res) { printf("Connect failed File %s, Line %d\n", __FILE__, __LINE__); }
#define STR(s)   _STR(s)
#define _STR(s)   #s


typedef QVector< double > QcepDoubleVector
typedef QVector< bool > QcepBoolVector
typedef QVector< int > QcepIntVector
typedef QVector< QString > QcepStringVector
typedef QList< double > QcepDoubleList
typedef QList< bool > QcepBoolList
typedef QList< int > QcepIntList
typedef QList< QString > QcepStringList
typedef QVector< QPointF > QcepPolygon

Macro Definition Documentation

#define _STR (   s)    #s

Definition at line 17 of file qcepmacros.h.

#define CONNECT_CHECK (   res)    if(!res) { printf("Connect failed File %s, Line %d\n", __FILE__, __LINE__); }
#define GUI_THREAD_CHECK   Q_ASSERT(qApp && qApp ->thread() == QThread::currentThread())
#define INVOKE_CHECK (   res)    if(!res) { printf("Invoke failed File %s, Line %d\n", __FILE__, __LINE__); }
#define STR (   s)    _STR(s)
#define THREAD_CHECK   Q_ASSERT(QThread::currentThread() == thread())

Typedef Documentation

typedef QList<bool> QcepBoolList

Definition at line 30 of file qcepmacros.h.

typedef QVector<bool> QcepBoolVector

Definition at line 21 of file qcepmacros.h.

typedef QList<double> QcepDoubleList

Definition at line 28 of file qcepmacros.h.

typedef QVector<double> QcepDoubleVector

Definition at line 19 of file qcepmacros.h.

typedef QList<int> QcepIntList

Definition at line 32 of file qcepmacros.h.

typedef QVector<int> QcepIntVector

Definition at line 23 of file qcepmacros.h.

typedef QVector<QPointF> QcepPolygon

Definition at line 37 of file qcepmacros.h.

typedef QList<QString> QcepStringList

Definition at line 34 of file qcepmacros.h.

typedef QVector<QString> QcepStringVector

Definition at line 25 of file qcepmacros.h.