27 cProperties() =
default;
29 bool Exists(
const char* strName)
const override;
32 size_t GetSize()
const override;
33 tResult GetProperty(
const char* strName,
IProperty& pProperty)
const override;
37 cProperties& CreateProperty(std::string_view strName,
const T& xValue)
39 const auto emplaced = m_oProperties.emplace(std::piecewise_construct, std::forward_as_tuple(strName),
40 std::forward_as_tuple(strName, xValue));
43 emplaced.first->second.SetValue(xValue);
46 return static_cast<cProperties&
>(emplaced.first->second.GetProperties());
49 tResult SetPropertyByPath(
const char* strParentPath,
const IProperty& pProperty)
override;
50 tResult RemoveProperty(
const char* strName)
override;
56 std::map<std::string, cProperty, std::less<>> m_oProperties;
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:775