Namespaces | Defines | Enumerations | Functions
QGpCoreTools/Global.h File Reference
#include <QtCore>

Go to the source code of this file.

Namespaces

namespace  QGpCoreTools

Defines

#define DUMMY_PROPERTIES
#define MAX_INT   ((int)((uint)(-1)>>1))
#define MAX_INT32   ((qint32)((quint32)(-1)>>1))
#define REGISTER_METATYPE(type)
#define SAFE_UNINITIALIZED(var, value)   var=value;

Enumerations

enum  QGpCoreTools::AxisType { QGpCoreTools::XAxis, QGpCoreTools::YAxis, QGpCoreTools::ZAxis }

Functions

template<typename T >
void QGpCoreTools::unique (QList< T > &list)
template<typename T , typename Equal >
void QGpCoreTools::unique (QList< T > &list, Equal equal)
template<typename T >
void QGpCoreTools::unique (QVector< T > &v)
template<typename T , typename Equal >
void QGpCoreTools::unique (QVector< T > &v, Equal equal)
template<typename T >
void QGpCoreTools::uniqueDeleteAll (QList< T > &list)
template<typename T , typename Equal >
void QGpCoreTools::uniqueDeleteAll (QList< T > &list, Equal equal)
template<typename T >
void QGpCoreTools::uniqueDeleteAll (QVector< T > &v)
template<typename T , typename Equal >
void QGpCoreTools::uniqueDeleteAll (QVector< T > &v, Equal equal)

Define Documentation

Value:
public: \
    void setDummyProperty(const QString&) {} \
    void setDummyProperty(double) {} \
    void setDummyProperty(int) {} \
    QString dummyPropertyString() const {return QString::null;} \
    double dummyPropertyDouble() const {return 0.0;} \
    int dummyPropertyInt() const {return 0;}
#define MAX_INT   ((int)((uint)(-1)>>1))
#define MAX_INT32   ((qint32)((quint32)(-1)>>1))
#define REGISTER_METATYPE (   type)
Value:
class type##InitMetaType \
  { \
  public: \
    type##InitMetaType(); \
  }; \
  type##InitMetaType::type##InitMetaType() \
  { \
    qRegisterMetaType<type>(# type); \
  } \
  type##InitMetaType instance##type##InitMetaType;
#define SAFE_UNINITIALIZED (   var,
  value 
)    var=value;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines