예제 #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(); }