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>
125 operator[](
const std::string &);
131 operator[](
const std::string &)
const;
134 Get(
const std::string &)
const;
138 HasKey(
const std::string &)
const;
141 Erase(
const std::string &);
167 Find(
const std::string & key);
170 Find(
const std::string & key)
const;
183 std::shared_ptr<MetaDataDictionaryMapType> m_Dictionary{};
193 #endif // itkMetaDataDictionary_h