18 #ifndef QGSPOINTCLOUDATTRIBUTE_H 
   19 #define QGSPOINTCLOUDATTRIBUTE_H 
   22 #include "qgis_core.h" 
   59     QString 
name()
 const { 
return mName; }
 
   62     int size()
 const { 
return mSize; }
 
   76     QVariant::Type variantType() 
const;
 
   85     QString displayType() 
const;
 
   90     static bool isNumeric( DataType type );
 
   93     SIP_PYOBJECT __repr__();
 
   95     QString 
str = QStringLiteral( 
"<QgsPointCloudAttribute: %1 (%2)>" ).arg( sipCpp->name() ).arg( sipCpp->displayType() );
 
   96     sipRes = PyUnicode_FromString( 
str.toUtf8().constData() );
 
  139     QVector<QgsPointCloudAttribute> attributes() 
const;
 
  144     int count()
 const { 
return mAttributes.size(); }
 
  163     int indexOf( 
const QString &name ) 
const;
 
  175     QVector<QgsPointCloudAttribute> mAttributes;
 
  177     struct CachedAttributeData
 
  181       CachedAttributeData( 
int index, 
int offset )
 
  187     QMap< QString, CachedAttributeData > mCachedAttributes;
 
Container of fields for a vector layer.
Collection of point cloud attributes.
int pointRecordSize() const
Returns total size of record.
QgsPointCloudAttributeCollection()
Ctor.
int count() const
Returns the number of attributes present in the collection.
const QgsPointCloudAttribute & at(int index) const
Returns the attribute at the specified index.
Attribute for point cloud data pair of name and size in bytes.
DataType
Systems of unit measurement.
@ UShort
Unsigned short int 2 bytes.
@ Short
Short int 2 bytes.
QgsPointCloudAttribute()
Ctor.
int size() const
Returns size of the attribute in bytes.
QString name() const
Returns name of the attribute.
DataType type() const
Returns the data type.