コード例 #1
0
ファイル: metadatum.cpp プロジェクト: dtbinh/dviz
 bool cmpMetadataByKey(const Metadatum& lhs, const Metadatum& rhs)
 {
     return lhs.key() < rhs.key();
 }
コード例 #2
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(); }