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;
67 bool operator==(
const OperationDetails &other )
const
69 return operation == other.operation && allowFallback == other.allowFallback;
72 QMap< QPair< QgsCoordinateReferenceSystem, QgsCoordinateReferenceSystem >, OperationDetails > mSourceDestDatumTransforms;
75 mutable QReadWriteLock mLock{};
78 QgsCoordinateTransformContextPrivate &operator= (
const QgsCoordinateTransformContextPrivate & ) =
delete;
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)