| | |
The CleavageConfig class derives from CleavageAgent to provide a model for specifying aqueous cleavage specifications (patterns) of Polymer Sequences along with instructions on the way the cleavage must occur. More...
| Header: | #include <MsXpS/libXpertMassCore/CleavageConfig.hpp> |
| Inherits: | MsXpS::libXpertMassCore::CleavageAgent |
| CleavageConfig(QObject *parent = nullptr) | |
| CleavageConfig(const MsXpS::libXpertMassCore::CleavageAgent &cleavage_agent, int partials = 0, bool is_sequence_embedded = false, QObject *parent = nullptr) | |
| CleavageConfig(MsXpS::libXpertMassCore::PolChemDefCstSPtr pol_chem_def_csp, const QString &name, const QString &pattern, int partials = 0, bool is_sequence_embedded = false, QObject *parent = nullptr) | |
| CleavageConfig(const MsXpS::libXpertMassCore::CleavageConfig &other, QObject *parent = nullptr) | |
| virtual | ~CleavageConfig() |
| int | getPartials() const |
| int | getStartIonizeLevel() const |
| int | getStopIonizeLevel() const |
| bool | initialize(const MsXpS::libXpertMassCore::CleavageConfig &other, QObject *parent = nullptr) |
| bool | isSequenceEmbedded() const |
| bool | setCleavageAgent(const MsXpS::libXpertMassCore::CleavageAgent &cleavage_agent) |
| void | setIonizeLevels(int value1, int value2) |
| void | setPartials(int value) |
| void | setSequenceEmbedded(bool is_sequence_embedded) |
| void | setStartIonizeLevel(int value) |
| void | setStopIonizeLevel(int value) |
| bool | operator!=(const MsXpS::libXpertMassCore::CleavageConfig &other) const |
| bool | operator==(const MsXpS::libXpertMassCore::CleavageConfig &other) const |
| int | m_partials |
| bool | m_sequenceEmbedded |
| int | m_startIonizeLevel |
| int | m_stopIonizeLevel |
The added configuration elements in this class are related to the way the obtained oligomers (peptides, oligonucleotides, oligosaccharides...) are produced:
See also CleavageAgent, CleavageMotif, and CleavageRule.
This property holds the partial cleavages accepted.
Access functions:
| int | getPartials() const |
| void | setPartials(int value) |
Tells if the sequence of the obtained Oligomer instances needs to be embedded in the object.
Access functions:
| bool | isSequenceEmbedded() const |
| void | setSequenceEmbedded(bool is_sequence_embedded) |
This property holds the ionization range start level.
Access functions:
| int | getStartIonizeLevel() const |
| void | setStartIonizeLevel(int value) |
This property holds the ionization range stop level.
Access functions:
| int | getStopIonizeLevel() const |
| void | setStopIonizeLevel(int value) |
[invokable] CleavageConfig::CleavageConfig(QObject *parent = nullptr)Constructs a default-initialized CleavageConfig instance.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] CleavageConfig::CleavageConfig(const MsXpS::libXpertMassCore::CleavageAgent &cleavage_agent, int partials = 0, bool is_sequence_embedded = false, QObject *parent = nullptr)Constructs a CleavageConfig instance starting using a limited set of parameters.
cleavage_agent: initializes the base class CleavageAgent.
partials: initializes m_partials;
is_sequence_embedded: initializes m_sequenceEmbedded.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] CleavageConfig::CleavageConfig(MsXpS::libXpertMassCore::PolChemDefCstSPtr pol_chem_def_csp, const QString &name, const QString &pattern, int partials = 0, bool is_sequence_embedded = false, QObject *parent = nullptr)Constructs a CleavageConfig instance using a full set of parameters.
pol_chem_def_csp: initializes CleavageAgent::mcsp_polChemDef.
name: initializes CleavageAgent::m_name;
pattern: initalizes CleavageAgent::m_pattern;
partials: initializes m_partials;
is_sequence_embedded: initializes m_sequenceEmbedded.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] CleavageConfig::CleavageConfig(const MsXpS::libXpertMassCore::CleavageConfig &other, QObject *parent = nullptr)Constructs a CleavageConfig instance as a copy of other with parentship set to parent.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[virtual noexcept] CleavageConfig::~CleavageConfig()Destructs this CleavageConfig instance.
Returns the partial cleavages.
Note: Getter function for property partials.
Returns the ionization range start level.
Note: Getter function for property startIonizeLevel.
Returns the ionization range stop level.
Note: Getter function for property stopIonizeLevel.
[invokable] bool CleavageConfig::initialize(const MsXpS::libXpertMassCore::CleavageConfig &other, QObject *parent = nullptr)Initializes this CleavageConfig instance using other, setting parentship to parent.
If no initialization error occurred, return true, false otherwise.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
See also CleavageAgent::initialize().
Returns the sequence embedded boolean value.
Note: Getter function for property sequenceEmbedded.
[invokable] bool CleavageConfig::setCleavageAgent(const MsXpS::libXpertMassCore::CleavageAgent &cleavage_agent)Sets this instance's CleavageAgent base class to cleavage_agent.
Note: The parentship is transferred to cleavage_agent.
Returns true the CleavageAgent initialization succeeded, false otherwise.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] void CleavageConfig::setIonizeLevels(int value1, int value2)Sets both the ionization range start and stop levels to value1 and value2, respectively.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
Sets the partial cleavages to value.
Note: Setter function for property partials.
Sets the sequence embedded boolean value to is_sequence_embedded.
Note: Setter function for property sequenceEmbedded.
See also isSequenceEmbedded().
Sets the ionization range start level to value.
Note: Setter function for property startIonizeLevel.
Sets the ionization range stop level to value.
Note: Setter function for property stopIonizeLevel.
Returns true if this instance and other differ, false otherwise. Returns the negative value of opearator==().
See also operator==().
Returns true if this CleavageConfig instance and other are identical, false otherwise.
See also operator!=().
This variable holds the partial cleavages accepted.
Tells if the sequence of the obtained Oligomer instances needs to be embedded in the object.
This variable holds the ionization range start level.
This variable holds the ionization range stop level.