18#ifndef QGSCOORDINATETRANSFORMCONTEXT_PRIVATE_H
19#define QGSCOORDINATETRANSFORMCONTEXT_PRIVATE_H
43class QgsCoordinateTransformContextPrivate :
public QSharedData
48 QgsCoordinateTransformContextPrivate() =
default;
50 QgsCoordinateTransformContextPrivate(
const QgsCoordinateTransformContextPrivate &other )
51 : QSharedData( other )
54 other.mLock.lockForRead();
55 mSourceDestDatumTransforms = other.mSourceDestDatumTransforms;
62 class OperationDetails
66 bool allowFallback =
true;
69 bool operator==(
const OperationDetails &other )
const
71 return operation == other.operation && allowFallback == other.allowFallback;
74 QMap< QPair< QgsCoordinateReferenceSystem, QgsCoordinateReferenceSystem >, OperationDetails > mSourceDestDatumTransforms;
77 mutable QReadWriteLock mLock{};
80 QgsCoordinateTransformContextPrivate &operator= (
const QgsCoordinateTransformContextPrivate & ) =
delete;
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)