| <large>libXpertMassCore and libXpertMassGui Developer Documentation</large>

- libXpertMassCore
- ChemicalGroupProp

# MsXpS::libXpertMassCore::ChemicalGroupProp Class

class MsXpS::libXpertMassCore::ChemicalGroupProp

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

Header: | `#include <ChemicalGroupProp>`
Inherits: | MsXpS::libXpertMassCore::Prop

- List of all members, including inherited members
- ChemicalGroupProp is part of The property system.

## Public Functions

| ChemicalGroupProp(const QString &name = QString(), MsXpS::libXpertMassCore::ChemicalGroup *data = 0)
| ChemicalGroupProp(const MsXpS::libXpertMassCore::ChemicalGroupProp &other)
virtual | ~ChemicalGroupProp()
MsXpS::libXpertMassCore::ChemicalGroupProp & | operator=(const MsXpS::libXpertMassCore::ChemicalGroupProp &other)

## Reimplemented Public Functions

virtual MsXpS::libXpertMassCore::ChemicalGroupProp * | cloneOut() const override
virtual void | deleteData() override

## Detailed Description

## Member Function Documentation

### ChemicalGroupProp::ChemicalGroupProp(const QString &name = QString(), MsXpS::libXpertMassCore::ChemicalGroup *data = 0)

Constructs a ChemicalGroupProp instance using data and name.

The data pointer is set to the mpa_data member.

### ChemicalGroupProp::ChemicalGroupProp(const MsXpS::libXpertMassCore::ChemicalGroupProp &other)

Constructs a ChemicalGroupProp instance as a copy of other.

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

### `[virtual noexcept]` ChemicalGroupProp::~ChemicalGroupProp()

Destructs this ChemicalGroupProp instance.

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

### `[override virtual]` MsXpS::libXpertMassCore::ChemicalGroupProp *ChemicalGroupProp::cloneOut() const

Duplicates this ChemicalGroupProp instance and returns its pointer.

### `[override virtual]` void ChemicalGroupProp::deleteData()

Reimplements: Prop::deleteData().

Deletes the member data.

### MsXpS::libXpertMassCore::ChemicalGroupProp &ChemicalGroupProp::operator=(const MsXpS::libXpertMassCore::ChemicalGroupProp &other)

Assigns other to this ChemicalGroupProp instance.

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