18 #ifndef QGSCOORDINATETRANSFORMCONTEXT_PRIVATE_H
19 #define QGSCOORDINATETRANSFORMCONTEXT_PRIVATE_H
43 class QgsCoordinateTransformContextPrivate :
public QSharedData
48 QgsCoordinateTransformContextPrivate() =
default;
50 QgsCoordinateTransformContextPrivate(
const QgsCoordinateTransformContextPrivate &other )
51 : QSharedData( other )
53 other.mLock.lockForRead();
54 mSourceDestDatumTransforms = other.mSourceDestDatumTransforms;
61 class OperationDetails
65 bool allowFallback =
true;
68 bool operator==(
const OperationDetails &other )
const
70 return operation == other.operation && allowFallback == other.allowFallback;
73 QMap< QPair< QgsCoordinateReferenceSystem, QgsCoordinateReferenceSystem >, OperationDetails > mSourceDestDatumTransforms;
76 mutable QReadWriteLock mLock{};
79 QgsCoordinateTransformContextPrivate &operator= (
const QgsCoordinateTransformContextPrivate & ) =
delete;
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)