WimaJoinedAreaData.h 797 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#pragma once

#include <QObject>

#include "WimaAreaData.h"
#include "WimaJoinedArea.h"

#include "QGeoCoordinate"

class WimaJoinedAreaData : public WimaAreaData
{
    Q_OBJECT

public:
    WimaJoinedAreaData(QObject *parent = nullptr);
    WimaJoinedAreaData(const WimaJoinedAreaData &other, QObject *parent = nullptr);
    WimaJoinedAreaData(const WimaJoinedArea &other, QObject *parent = nullptr);
    WimaJoinedAreaData &operator=(const WimaJoinedAreaData &other);
    WimaJoinedAreaData &operator=(const WimaJoinedArea &other);

    QString type() const;
22
    WimaJoinedAreaData *Clone() const {return new WimaJoinedAreaData(*this);}
23 24 25

    static const char* typeString;

26 27 28 29
protected:
    void assign(const WimaJoinedAreaData &other);
    void assign(const WimaJoinedArea &other);

30 31 32
private:
};