MCPcopy Create free account
hub / github.com/MITK/MITK / GetPropertyContextNames

Method GetPropertyContextNames

Modules/ROI/src/mitkROI.cpp:264–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264std::vector<std::string> mitk::ROI::Element::GetPropertyContextNames() const
265{
266 std::vector<std::string> result;
267 result.reserve(m_Properties.size());
268
269 std::transform(m_Properties.cbegin(), m_Properties.cend(), std::back_inserter(result), [](const PropertyListsType::value_type& property) {
270 return std::to_string(property.first);
271 });
272
273 return result;
274}
275
276mitk::BaseProperty* mitk::ROI::Element::GetNonConstProperty(const std::string& propertyKey, const std::string& contextName, bool fallBackOnDefaultContext)
277{

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected