18 #ifndef QGSPOINTCLOUDATTRIBUTE_H
19 #define QGSPOINTCLOUDATTRIBUTE_H
22 #include "qgis_core.h"
64 QString
name()
const {
return mName; }
67 int size()
const {
return mSize; }
81 QVariant::Type variantType()
const;
90 QString displayType()
const;
98 double convertValueToDouble(
const char *ptr )
const SIP_SKIP;
103 static bool isNumeric( DataType type );
106 SIP_PYOBJECT __repr__();
108 QString
str = QStringLiteral(
"<QgsPointCloudAttribute: %1 (%2)>" ).arg( sipCpp->name() ).arg( sipCpp->displayType() );
109 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
160 QVector<QgsPointCloudAttribute> attributes()
const;
165 int count()
const {
return mAttributes.size(); }
184 int indexOf(
const QString &name )
const;
196 QVector<QgsPointCloudAttribute> mAttributes;
198 struct CachedAttributeData
202 CachedAttributeData(
int index,
int offset )
208 QMap< QString, CachedAttributeData > mCachedAttributes;
211 #endif // QGSPOINTCLOUDATTRIBUTE_H