#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 DUMMY_PROPERTIES |
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)) |
Referenced by SciFigs::TextEdit::adjustSize(), SciFigs::SciFigsGlobal::footprint(), SciFigs::LegendItemDisplay::paint(), SciFigs::TextEdit::paint(), SciFigs::LegendWidget::paint(), SciFigs::Axis::printThickness(), SciFigs::OrderTip::setIndex(), SciFigs::LegendItemDisplay::sizeHint(), and SciFigs::AxisWindow::zoomIn().
#define MAX_INT32 ((qint32)((quint32)(-1)>>1)) |
#define REGISTER_METATYPE | ( | type | ) |
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; |
Referenced by GeopsyCore::StationSignals::addSignal(), GeopsyCore::Signal::compare(), GeopsyGui::SignalLayer::drawingAmplitude(), GeopsyGui::SignalLayer::drawSignal(), DinverCore::AbstractForward::firstModel(), DinverCore::ImportanceSampling::generate(), GeopsyCore::MiniSeedReader::lastPos(), GeopsyCore::SignalFile::load(), main(), GeopsyCore::SubSignalPool::mergeStations(), GeopsyCore::MiniSeedReader::nextRecord(), LinearFKActiveStationSignals::normalize(), GeopsyGui::PickLayer::paintData(), GeopsyGui::SignalLayer::paintData(), SciFigs::SlopeEstimator::paintText(), QGpCoreWave::RefractionDippingModel::propagate(), QGpCoreWave::Dispersion::refine(), HistogramWidget::select(), MonoStation::WinResults::setLayout(), PSViewer::setLimits(), GeopsyGui::SignalLayer::updateGrid(), and QGpCoreTools::StatisticalValue< numberType >::xml_setProperty().