}
}
-ElementPtr Element::getMutableMap(ConstElementPtr& const_map) {
- std::map<std::string, ConstElementPtr> values;
- const_map->getValue(values);
- ElementPtr mutable_map(new MapElement());
- mutable_map->setValue(values);
-
- return (mutable_map);
-}
-
}
}
/// \return ElementPtr with the data that is parsed.
static ElementPtr fromWire(const std::string& s);
//@}
-
- /// @brief Creates mutable map based on const map
- ///
- /// @param const_map const map to be used as a donor
- /// @return mutable map
- static ElementPtr getMutableMap(ConstElementPtr& const_map);
};
/// Notes: IntElement type is changed to int64_t.