コード例 #1
0
 Iptcdatum& IptcData::operator[](const std::string& key)
 {
     IptcKey iptcKey(key);
     iterator pos = findKey(iptcKey);
     if (pos == end()) {
         add(Iptcdatum(iptcKey));
         pos = findKey(iptcKey);
     }
     return *pos;
 }
コード例 #2
0
 int IptcData::add(const IptcKey& key, Value* value)
 {
     return add(Iptcdatum(key, value));
 }