18 #ifndef itkMetaDataDictionary_h
19 #define itkMetaDataDictionary_h
63 Print(std::ostream & os)
const;
68 using Iterator = MetaDataDictionaryMapType::iterator;
89 using KeyValuePair = MetaDataDictionaryMapType::value_type;
97 [](
const KeyValuePair & keyValuePair1,
const KeyValuePair & keyValuePair2) {
98 const auto & value1 = keyValuePair1.second;
99 const auto & value2 = keyValuePair2.second;
100 return (keyValuePair1.first == keyValuePair2.first) &&
101 ((value1 == value2) ||
102 ((value1 !=
nullptr) && (value2 !=
nullptr) && (*value1 == *value2)));
110 return !(lhs == rhs);
117 std::vector<std::string>
132 Get(
const std::string &)
const;
136 HasKey(
const std::string &)
const;
139 Erase(
const std::string &);
165 Find(
const std::string & key);
168 Find(
const std::string & key)
const;
181 std::shared_ptr<MetaDataDictionaryMapType> m_Dictionary{};
191 #endif // itkMetaDataDictionary_h