QGIS API Documentation  2.9.0-Master
Classes | Typedefs | Functions
qgsfield.h File Reference
#include <QString>
#include <QVariant>
#include <QVector>
#include <QSharedDataPointer>
Include dependency graph for qgsfield.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QgsFields::Field
 
class  QgsField
 Encapsulate a field in an attribute table or data source. More...
 
class  QgsFields
 Container of fields for a vector layer. More...
 

Typedefs

typedef QList< int > QgsAttributeList
 

Functions

CORE_EXPORT QDataStream & operator<< (QDataStream &out, const QgsField &field)
 Writes the field to stream out. More...
 
CORE_EXPORT QDataStream & operator<< (QDataStream &out, const QgsFields &fields)
 Writes the fields to stream out. More...
 
CORE_EXPORT QDataStream & operator>> (QDataStream &in, QgsField &field)
 Reads a field from stream in into field. More...
 
CORE_EXPORT QDataStream & operator>> (QDataStream &in, QgsFields &fields)
 Reads fields from stream in into fields. More...
 
 Q_DECLARE_METATYPE (QgsField)
 
 Q_DECLARE_METATYPE (QgsFields)
 

Typedef Documentation

typedef QList<int> QgsAttributeList

Definition at line 24 of file qgsfield.h.

Function Documentation

CORE_EXPORT QDataStream& operator<< ( QDataStream &  out,
const QgsField field 
)

Writes the field to stream out.

QGIS version compatibility is not guaranteed.

Definition at line 179 of file qgsfield.cpp.

CORE_EXPORT QDataStream& operator<< ( QDataStream &  out,
const QgsFields fields 
)

Writes the fields to stream out.

QGIS version compatibility is not guaranteed.

Definition at line 370 of file qgsfield.cpp.

CORE_EXPORT QDataStream& operator>> ( QDataStream &  in,
QgsField field 
)

Reads a field from stream in into field.

QGIS version compatibility is not guaranteed.

Definition at line 190 of file qgsfield.cpp.

CORE_EXPORT QDataStream& operator>> ( QDataStream &  in,
QgsFields fields 
)

Reads fields from stream in into fields.

QGIS version compatibility is not guaranteed.

Definition at line 380 of file qgsfield.cpp.

Q_DECLARE_METATYPE ( QgsField  )
Q_DECLARE_METATYPE ( QgsFields  )