Go to the documentation of this file.
24 #ifndef MZID_MZIDPREDICATE_HPP
25 #define MZID_MZIDPREDICATE_HPP
30 #include <boost/shared_ptr.hpp>
31 #include <boost/algorithm/string/predicate.hpp>
60 result = p->softwareName.hasCVParam(
id);
68 const std::string
seq;
74 return (p->peptideSequence ==
seq);
80 const std::string
seq;
86 return (dbs->seq ==
seq);
92 const std::string
seq;
101 return boost::iequals(p->seq,
seq) &&
110 return typeid(contact.get()).name() ==
typeid(
Organization*).name();
118 return typeid(contact.get()).name() ==
typeid(
Person*).name();
125 #endif // MZID_MZIDPREDICATE_HPP
Implementation of PersonType from the mzIdentML schema.
bool operator()(ContactPtr contact)
bool operator()(const DBSequencePtr &p) const
bool operator()(const DBSequencePtr &dbs) const
software_p(const CVID id)
Implementation of AbstractOrganizationType from the mzIdentML schema.
bool operator()(ContactPtr contact)
bool operator()(const boost::shared_ptr< T > &t) const
sequence_p(const std::string &seq)
id_p(const std::string id)
seq_p(const std::string &seq)
dbsequence_p(const std::string &seq, const std::string accession)
bool operator()(const AnalysisSoftwarePtr p)
bool operator()(const PeptidePtr &p) const
boost::shared_ptr< Contact > ContactPtr
const std::string accession
boost::shared_ptr< Peptide > PeptidePtr