Example #1
0
 bool cmpMetadataByTag(const Metadatum& lhs, const Metadatum& rhs)
 {
     return lhs.tag() < rhs.tag();
 }
Example #2
0
 bool cmpMetadataByKey(const Metadatum& lhs, const Metadatum& rhs)
 {
     return lhs.key() < rhs.key();
 }
Example #3
0
 /*!
   @brief Returns true if the key of the argument metadatum is equal
   to that of the object.
 */
 bool operator()(const Metadatum& metadatum) const
     { return key_ == metadatum.key(); }