6#include "GeoDataSimpleArrayData.h"
8#include "GeoDataTypes.h"
9#include "MarbleDebug.h"
16class GeoDataSimpleArrayDataPrivate
19 GeoDataSimpleArrayDataPrivate() =
default;
24GeoDataSimpleArrayData::GeoDataSimpleArrayData()
25 : d(new GeoDataSimpleArrayDataPrivate())
29GeoDataSimpleArrayData::GeoDataSimpleArrayData(
const GeoDataSimpleArrayData &other)
30 : GeoDataObject(other)
31 , d(new GeoDataSimpleArrayDataPrivate(*other.d))
35bool GeoDataSimpleArrayData::operator==(
const GeoDataSimpleArrayData &other)
const
37 return equals(other) && d->m_values == other.d->m_values;
40bool GeoDataSimpleArrayData::operator!=(
const GeoDataSimpleArrayData &other)
const
45GeoDataSimpleArrayData::~GeoDataSimpleArrayData()
50int GeoDataSimpleArrayData::size()
const
52 return d->m_values.size();
55QVariant GeoDataSimpleArrayData::valueAt(
int index)
const
57 return d->m_values.at(index);
65void GeoDataSimpleArrayData::append(
const QVariant &value)
70const char *GeoDataSimpleArrayData::nodeType()
const
72 return GeoDataTypes::GeoDataSimpleArrayDataType;
75void GeoDataSimpleArrayData::pack(
QDataStream &stream)
const
77 GeoDataObject::pack(stream);
80void GeoDataSimpleArrayData::unpack(
QDataStream &stream)
82 GeoDataObject::unpack(stream);
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
bool equals(const QVariant &lhs, const QVariant &rhs)
Binds a QML item to a specific geodetic location in screen coordinates.
void append(QList< T > &&value)