libXpertMass Developer Documentation
  • libXpertMass
  • CrossLinkList
  • CrossLinkList Class

    class MsXpS::libXpertMass::CrossLinkList

    The CrossLinkList class provides a list of CrossLink instances. More...

    Header: #include <CrossLinkList>
    Inherits: QObject and QList

    Public Functions

    CrossLinkList()
    CrossLinkList(const QString &name, Polymer *polymer = 0, const QString &comment = QString())
    CrossLinkList(const CrossLinkList *other)
    virtual ~CrossLinkList()
    const QString &comment() const
    QString name()
    const Polymer *polymer() const
    void setComment(QString comment)
    void setName(QString name)
    void setPolymer(Polymer *polymer)
    CrossLinkList &operator=(const CrossLinkList &other)

    Detailed Description

    Member Function Documentation

    Constructs an empty CrossLinkList instance.

    Constructs a CrossLinkList instance.

    Constructs a CrossLinkList instance as a copy of other.

    Destructs thisCrossLinkList instance.

    Deletes all the CrossLink instances in this list.

    const QString &CrossLinkList::comment() const

    Returns the comment.

    See also setComment().

    QString CrossLinkList::name()

    Returns the name.

    See also setName().

    const Polymer *CrossLinkList::polymer() const

    Gets the polymer.

    See also setPolymer().

    void CrossLinkList::setComment(QString comment)

    Sets the comment.

    See also comment().

    void CrossLinkList::setName(QString name)

    Sets the name.

    See also name().

    void CrossLinkList::setPolymer(Polymer *polymer)

    Sets the polymer.

    See also polymer().

    CrossLinkList &CrossLinkList::operator=(const CrossLinkList &other)

    Assigns other to this CrossLinkList instance.

    Returns a reference to this CrossLinkList instance.