|
The CalcOptions class provides the specifications that configure the way masses are calculated for Oligomers, Polymers and product ions. More...
Header: | #include <CalcOptions.hpp> |
CalcOptions() | |
CalcOptions(bool deepCalculation, int massType = MassType::MASS_BOTH, int capping = CAP_BOTH, int monomerEntities = MONOMER_CHEMENT_NONE, int polymerEntities = POLYMER_CHEMENT_NONE) | |
CalcOptions(const CalcOptions &other) | |
~CalcOptions() | |
int | capping() const |
const CoordinateList & | coordinateList() const |
void | debugPutStdErr() const |
bool | isDeepCalculation() const |
int | massType() const |
int | monomerEntities() const |
int | polymerEntities() const |
SelectionType | selectionType() const |
void | setCapping(int cap_type) |
void | setCoordinateList(const Coordinates &coordinates = Coordinates()) |
void | setCoordinateList(const CoordinateList &list) |
void | setDeepCalculation(bool deep) |
void | setMassType(int mass_type) |
void | setMonomerEntities(int entities) |
void | setPolymerEntities(int entities) |
void | setSelectionType(SelectionType type) |
CalcOptions & | operator=(const CalcOptions &other) |
int | m_capping |
CoordinateList | m_coordinateList |
bool | m_deepCalculation |
int | m_massType |
int | m_monomerEntities |
int | m_polymerEntities |
SelectionType | m_selectionType |
Constructs a CalcOptions instance.
Constructs a CalcOptions instance.
All the members are initialized using the parameters:
deepCalculation: m_deepCalculation
massType: m_massType
capping: m_capping
monomerEntities: m_monomerEntities
polymerEntities: m_polymerEntities
Construct a CalcOptions instance as a copy of other.
[noexcept]
CalcOptions::~CalcOptions()Destructs this CalcOptions object.
All the Coordinates in the member CoordinateList are deleted.
Returns the cap type .
See also setCapping() and m_capping.
Returns the CoordinateList member.
See also setCoordinateList().
Outputs a string describing this CalcOptions instance using qDebug().
Returns if the calculation should be deep.
See also m_deepCalculation.
Returns the mass type.
See also setMassType() and m_massType.
Returns the monomer entities.
See also setMonomerEntities() and m_monomerEntities.
Returns the polymer entities.
See also setPolymerEntities() and m_polymerEntities.
Returns the selection type.
See also setSelectionType() and m_selectionType.
Set the cap type to cap_type.
See also m_capping.
Adds a copy of coordinates to the CoordinateList.
Note: The CoordinateList' is first emptied, essentially replacing its contents with a copy of coordinates.
See also coordinateList().
Allocates a copy of each Coordinates instance in list and adds it to the CoordinateList.
Note: The CoordinateList is first emptied, essentially replacing its contents with a copy of those in list.
Sets to deep the configuration defining if the mass calculations must involve the recalculation of the masses of all the monomers.
See also isDeepCalculation() and m_deepCalculation.
Sets the mass type to mass_type.
See also m_massType.
Sets the monomer entities to entities.
See also m_monomerEntities.
Sets the polymer entities to entities.
See also m_polymerEntities.
Set the selection type to type.
See also m_selectionType.
Assigns other to this CalcOptions instance.
The copy is deep, with all the Coordinates in the other's CoordinateList being copied to this CalcOptions instance.
Returns a reference to this CalcOptions object.
This variable holds the cap type, left or right to account for in the calculations.
See also CapType.
This variable holds the list of Coordinates.
Tells if the calculations must involve the recalculation of all the masses of the Monomers in the sequence.
This variable holds the mass type, monoisotopic or average to compute.
See also MassType.
This variable holds the Monomer entities to account for in the calculations.
See also MonomerChemEnt.
This variable holds the Polymer entities to account for in the calculations.
See also PolymerChemEnt.
This variable holds the manner the monomers need to be accounted for: as residual chains or as finished-polymerization state Oligomers.
The calculations might consider only the residual chain. In that case, only the mass of the monomers is considered and then the polymer is not in its finished polymerization state. If that latter state is required, then, the residual chain must be capped with the left end cap and the right end cap.
See also MsXpS::libXpertMass::SelectionType.