aboutsummaryrefslogtreecommitdiff
path: root/include/proj/util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/proj/util.hpp')
-rw-r--r--include/proj/util.hpp18
1 files changed, 14 insertions, 4 deletions
diff --git a/include/proj/util.hpp b/include/proj/util.hpp
index e4d6c3e0..622709d1 100644
--- a/include/proj/util.hpp
+++ b/include/proj/util.hpp
@@ -166,6 +166,13 @@ namespace proj {}
NS_PROJ_START
+//! @cond Doxygen_Suppress
+namespace io {
+class DatabaseContext;
+using DatabaseContextPtr = std::shared_ptr<DatabaseContext>;
+}
+//! @endcond
+
/** osgeo.proj.util namespace.
*
* \brief A set of base types from ISO 19103, \ref GeoAPI and other PROJ
@@ -342,15 +349,18 @@ class PROJ_GCC_DLL IComparable {
EQUIVALENT_EXCEPT_AXIS_ORDER_GEOGCRS,
};
- PROJ_DLL bool isEquivalentTo(const IComparable *other,
- Criterion criterion = Criterion::STRICT) const;
+ PROJ_DLL bool
+ isEquivalentTo(const IComparable *other,
+ Criterion criterion = Criterion::STRICT,
+ const io::DatabaseContextPtr &dbContext = nullptr) const;
PROJ_PRIVATE :
//! @cond Doxygen_Suppress
PROJ_INTERNAL virtual bool
- _isEquivalentTo(const IComparable *other,
- Criterion criterion = Criterion::STRICT) const = 0;
+ _isEquivalentTo(
+ const IComparable *other, Criterion criterion = Criterion::STRICT,
+ const io::DatabaseContextPtr &dbContext = nullptr) const = 0;
//! @endcond
};