73 std::pair<std::map<QString, PsmProtein>::iterator,
bool>
insert(
const PsmProtein &psm_protein);
91 std::size_t
size()
const;
106 void reduce(
const QStringList &accession_list);
simple override of the raw QCborStreamReader This adds convenient functions to put CBOR data into C++...
overrides QCborStreamWriter base class to provide convenient functions
void reduce(const QStringList &accession_list)
reduce to protein accessions listed in input
std::size_t size() const
get protein map size
void merge(const PsmProteinMap &other_protein_map)
merge with other protein map
std::map< QString, PsmProtein > m_proteinMap
const pappso::cbor::psm::PsmProtein & getByAccession(const QString &accession) const
retrieve a PsmProtein with its accession
std::map< QString, PsmProtein > & getProteinMap()
std::pair< std::map< QString, PsmProtein >::iterator, bool > insert(const PsmProtein &psm_protein)
standard map insert of a PsmProtein (accession is the key)
void readMap(CborStreamReader &reader)
reads the protein map from a cbor input stream
void writeMap(CborStreamWriter &writer) const
writes the protein map in a cbor output stream this output a CborMap structure directly in the output...
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< Protein > protein_sp