| | |
The OligomerPair class provides abstractions to work with a pair of Oligomer instances. More...
| Header: | #include <OligomerPair.hpp> |
| Inherits: | MsXpS::libXpertMassCore::PropListHolder |
| OligomerPair(const QString &name, const MsXpS::libXpertMassCore::OligomerSPtr first_csp, const MsXpS::libXpertMassCore::OligomerSPtr second_csp, MsXpS::libXpertMassCore::Enums::MassType mass_type, double error, bool isMatching = false) | |
| OligomerPair(const MsXpS::libXpertMassCore::OligomerPair &other) | |
| virtual | ~OligomerPair() |
| int | firstCharge() |
| double | getError() const |
| const MsXpS::libXpertMassCore::OligomerSPtr | getFirst() const |
| double | getFirstMass() |
| MsXpS::libXpertMassCore::Enums::MassType | getMassType() const |
| QString | getName() |
| const MsXpS::libXpertMassCore::OligomerSPtr | getSecond() const |
| double | getSecondMass() |
| bool | isMatching() const |
| int | secondCharge() |
| void | setError(double error) |
| void | setMassType(MsXpS::libXpertMassCore::Enums::MassType mass_type) |
| void | setMatching(bool is_matching) |
| MsXpS::libXpertMassCore::OligomerPair & | operator=(const MsXpS::libXpertMassCore::OligomerPair &other) |
| double | m_error |
| bool | m_isMatching |
| MsXpS::libXpertMassCore::Enums::MassType | m_massType |
| QString | m_name |
| MsXpS::libXpertMassCore::OligomerSPtr | msp_first |
| MsXpS::libXpertMassCore::OligomerSPtr | msp_second |
Constructs an OligomerPair.
The OligomerPair instance is constructed with these arguments:
first_csp and second_csp cannot be nullptr.
Constructs the OligomerPair as a copy of other.
[virtual noexcept] OligomerPair::~OligomerPair()Desstructs the OligomerPair.
Returns the charge of the first Oligomer as calculated in the Oligomer's Ionizer member.
See also Ionizer.
Returns the error.
Returns the first Oligomer.
Returns the mass of the first Oligomer of the type set in the member Enums::MassType.
Returns the mass type.
Returns the name.
Returns the second Oligomer.
Returns the mass of the second Oligomer of the type set in the member Enums::MassType.
Returns the matching.
Returns the charge of the second Oligomer as calculated in the Oligomer's Ionizer member.
See also Ionizer.
Sets the error.
Sets the mass_type.
Sets the matching to is_matching.
See also isMatching().
Assigns other to this Oligomer instance.
This variable holds the error on the mass values.
Tells if the OligomerPair is matching.
The concept of matching depends on the use case for this class.
This variable holds the mass type that is to be handled.
This variable holds the name of the OligomerPair.
This variable holds the first Oligomer of the pair.
This variable holds the second Oligomer of the pair.