aboutsummaryrefslogtreecommitdiff
path: root/include/proj/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/proj/common.hpp')
-rw-r--r--include/proj/common.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/proj/common.hpp b/include/proj/common.hpp
index 7940f4fc..d857dafd 100644
--- a/include/proj/common.hpp
+++ b/include/proj/common.hpp
@@ -104,6 +104,9 @@ class PROJ_GCC_DLL UnitOfMeasure : public util::BaseObject {
const std::string &unitType = std::string())
const; // throw(io::FormattingException)
+ PROJ_INTERNAL void _exportToJSON(
+ io::JSONFormatter *formatter) const; // throw(io::FormattingException)
+
PROJ_INTERNAL std::string exportToPROJString() const;
PROJ_INTERNAL bool
@@ -329,6 +332,8 @@ class PROJ_GCC_DLL IdentifiedObject : public util::BaseObject,
formatID(io::WKTFormatter *formatter) const;
PROJ_INTERNAL void formatRemarks(io::WKTFormatter *formatter) const;
+ PROJ_INTERNAL void formatID(io::JSONFormatter *formatter) const;
+
PROJ_INTERNAL bool
_isEquivalentTo(const util::IComparable *other,
util::IComparable::Criterion criterion =