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.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/proj/util.hpp b/include/proj/util.hpp
index eb7288b2..c2f2b7fe 100644
--- a/include/proj/util.hpp
+++ b/include/proj/util.hpp
@@ -499,12 +499,13 @@ class PropertyMap {
PROJ_PRIVATE :
//! @cond Doxygen_Suppress
- std::map<std::string, BaseObjectNNPtr>::iterator
- find(const std::string &key) const;
- std::map<std::string, BaseObjectNNPtr>::iterator end() const;
+ const BaseObjectNNPtr *
+ get(const std::string &key) const;
// throw(InvalidValueTypeException)
bool getStringValue(const std::string &key, std::string &outVal) const;
+ bool getStringValue(const std::string &key,
+ optional<std::string> &outVal) const;
static PropertyMap createAndSetName(const char *name);
static PropertyMap createAndSetName(const std::string &name);
@@ -513,8 +514,6 @@ class PropertyMap {
private:
PropertyMap &operator=(const PropertyMap &) = delete;
- PropertyMap &set(const std::string &key, const BoxedValue &val);
-
PROJ_OPAQUE_PRIVATE_DATA
};