libXpertMass Developer Documentation
  • libXpertMass
  • ChemicalGroupProp
  • ChemicalGroupProp Class

    class MsXpS::libXpertMass::ChemicalGroupProp

    The ChemicalGroupProp class provides a Prop instance of which the member data points to a dynamically allocated ChemicalGroup instance. More...

    Header: #include <ChemicalGroupProp>

    Public Functions

    ChemicalGroupProp(const int &name = QString(), int *data = 0)
    ChemicalGroupProp(const MsXpS::libXpertMass::ChemicalGroupProp &other)
    ~ChemicalGroupProp()
    MsXpS::libXpertMass::ChemicalGroupProp *cloneOut() const
    virtual void deleteData()
    MsXpS::libXpertMass::ChemicalGroupProp &operator=(const MsXpS::libXpertMass::ChemicalGroupProp &other)

    Detailed Description

    Member Function Documentation

    ChemicalGroupProp::ChemicalGroupProp(const int &name = QString(), int *data = 0)

    Constructs a ChemicalGroupProp instance using data and name.

    The data pointer is set to the mpa_data member.

    ChemicalGroupProp::ChemicalGroupProp(const MsXpS::libXpertMass::ChemicalGroupProp &other)

    Constructs a ChemicalGroupProp instance as a copy of other.

    The data in other are duplicated and set to this ChemicalGroupProp instance.

    [noexcept] ChemicalGroupProp::~ChemicalGroupProp()

    Destructs this ChemicalGroupProp instance.

    The deletion of the data are delegated to deleteData().

    MsXpS::libXpertMass::ChemicalGroupProp *ChemicalGroupProp::cloneOut() const

    Duplicates this ChemicalGroupProp instance and returns its pointer.

    [virtual] void ChemicalGroupProp::deleteData()

    Deletes the member data.

    MsXpS::libXpertMass::ChemicalGroupProp &ChemicalGroupProp::operator=(const MsXpS::libXpertMass::ChemicalGroupProp &other)

    Assigns other to this ChemicalGroupProp instance.

    The member data are first deleted and then set to a copy of those in other.