diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-06-02 10:43:16 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-06-08 10:25:35 (GMT) |
commit | 026f65d284deaea9f2dba41ed956fabf84e17b6d (patch) | |
tree | 679ed5f85c33cebc55184384cb476d795bbee5a3 /Source/cmPropertyMap.h | |
parent | 9e64e617eb295c7e2725d871225659ae7bcf7c48 (diff) | |
download | CMake-026f65d284deaea9f2dba41ed956fabf84e17b6d.zip CMake-026f65d284deaea9f2dba41ed956fabf84e17b6d.tar.gz CMake-026f65d284deaea9f2dba41ed956fabf84e17b6d.tar.bz2 |
cmPropertyMap: Add GetList method
Diffstat (limited to 'Source/cmPropertyMap.h')
-rw-r--r-- | Source/cmPropertyMap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmPropertyMap.h b/Source/cmPropertyMap.h index 5c93627..e2348a3 100644 --- a/Source/cmPropertyMap.h +++ b/Source/cmPropertyMap.h @@ -9,6 +9,7 @@ #include <map> #include <string> +#include <utility> #include <vector> class cmPropertyMap : public std::map<std::string, cmProperty> @@ -27,6 +28,9 @@ public: // -- Lists //! Get a sorted list of property keys std::vector<std::string> GetKeys() const; + + //! Get a sorted by key list of property key,value pairs + std::vector<std::pair<std::string, std::string>> GetList() const; }; #endif |