|
libpappsomspp
Library for mass spectrometry
|
#include <proteinintegercode.h>
Public Member Functions | |
| ProteinIntegerCode (ProteinSp protein, const AaStringCodec &codec, std::size_t aa_str_max_size=5) | |
| ProteinIntegerCode (const ProteinIntegerCode &other) | |
| ~ProteinIntegerCode () | |
| const std::vector< std::uint32_t > & | getPeptideCodedFragment (std::size_t size) const |
| std::vector< std::pair< std::size_t, std::uint32_t > > | match (const std::vector< uint32_t > &code_list) const |
Private Member Functions | |
| std::vector< std::uint32_t > | computePeptideCodeFragments (const AaStringCodec &codec, std::size_t fragment_size) const |
Private Attributes | |
| ProteinSp | msp_protein |
| std::vector< std::uint8_t > | m_seqAaCode |
| std::vector< std::vector< std::uint32_t > > | m_peptideCodedFragments |
Definition at line 42 of file proteinintegercode.h.
| ProteinIntegerCode::ProteinIntegerCode | ( | ProteinSp | protein, |
| const AaStringCodec & | codec, | ||
| std::size_t | aa_str_max_size = 5 |
||
| ) |
Default constructor
Definition at line 34 of file proteinintegercode.cpp.
References computePeptideCodeFragments(), pappso::AaStringCodec::getAaCode(), pappso::AaCode::getAaCode(), m_peptideCodedFragments, m_seqAaCode, and msp_protein.
| ProteinIntegerCode::ProteinIntegerCode | ( | const ProteinIntegerCode & | other | ) |
Copy constructor
| other | TODO |
Definition at line 60 of file proteinintegercode.cpp.
References m_peptideCodedFragments, m_seqAaCode, and msp_protein.
| ProteinIntegerCode::~ProteinIntegerCode | ( | ) |
|
private |
Definition at line 74 of file proteinintegercode.cpp.
References pappso::AaStringCodec::codeLlc(), and pappso::max.
Referenced by ProteinIntegerCode().
| const std::vector< std::uint32_t > & pappso::ProteinIntegerCode::getPeptideCodedFragment | ( | std::size_t | size | ) | const |
Definition at line 95 of file proteinintegercode.cpp.
| std::vector< std::pair< std::size_t, std::uint32_t > > pappso::ProteinIntegerCode::match | ( | const std::vector< uint32_t > & | code_list | ) | const |
Definition at line 113 of file proteinintegercode.cpp.
|
private |
Definition at line 79 of file proteinintegercode.h.
Referenced by ProteinIntegerCode(), and ProteinIntegerCode().
|
private |
Definition at line 78 of file proteinintegercode.h.
Referenced by ProteinIntegerCode(), and ProteinIntegerCode().
|
private |
Definition at line 76 of file proteinintegercode.h.
Referenced by ProteinIntegerCode(), and ProteinIntegerCode().