diff options
Diffstat (limited to 'Source/cmPropertyMap.h')
| -rw-r--r-- | Source/cmPropertyMap.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmPropertyMap.h b/Source/cmPropertyMap.h index cda585a..f50b65e 100644 --- a/Source/cmPropertyMap.h +++ b/Source/cmPropertyMap.h @@ -9,7 +9,7 @@ #include <utility> #include <vector> -#include "cmProperty.h" +#include "cmValue.h" /** \class cmPropertyMap * \brief String property map. @@ -26,13 +26,18 @@ public: //! Set the property value void SetProperty(const std::string& name, const char* value); + void SetProperty(const std::string& name, cmValue value); + void SetProperty(const std::string& name, const std::string& value) + { + this->SetProperty(name, cmValue(value)); + } //! Append to the property value void AppendProperty(const std::string& name, const std::string& value, bool asString = false); //! Get the property value - cmProp GetPropertyValue(const std::string& name) const; + cmValue GetPropertyValue(const std::string& name) const; //! Remove the property @a name from the map void RemoveProperty(const std::string& name); |
