- void SetValue(const std::string& key, const Property::Value &value);
-
- /**
- * @brief Retrieve a property value from the internal array or map.
- *
- * @pre GetType() returns Property::ARRAY or Property::MAP.
- * @param [in] index The item index.
- * @return Property value if available at index or Invalid
- */
- Property::Value& GetItem(const int index) const;
-
- /**
- * @brief Retrieve a property value from the internal array or map.
- *
- * @pre GetType() returns Property::ARRAY or Property::MAP.
- * @param [in] index The item index.
- * @param [out] key The key of the index (Applicable only for Property::MAP).
- * @return Property value if available at index or Invalid
- */
- Property::Value& GetItem(const int index, std::string& key) const;
-
- /**
- * @brief Set a property value in the array or map.
- *
- * @pre GetType() returns Property::ARRAY or Property::MAP.
- * @pre index < GetSize()
- * @param [in] index The property value index
- * @param [in] value The value to set.
- * @return Property value if index < GetSize()
- */
- void SetItem(const int index, const Property::Value &value);
-
- /**
- * @brief Set a property value in the array.
- *
- * @pre GetType() returns Property::ARRAY.
- * @param [in] value The value to set.
- * @return THe index of the item just added
- */
- int AppendItem(const Property::Value &value);
-
- /**
- * @brief Retrieve the length of the array or map.
- *
- * Zero if neither.
- * @pre GetType() returns Property::ARRAY or Property::MAP
- * @return The length of the array
- */
- int GetSize() const;