QGIS API Documentation  3.0.2-Girona (307d082)
Classes | Typedefs | Functions
qgsfield.h File Reference
#include <QString>
#include <QVariant>
#include <QVector>
#include <QSharedDataPointer>
#include "qgsfield_p.h"
#include "qgis_core.h"
#include "qgis.h"
#include "qgseditorwidgetsetup.h"
#include "qgsfieldconstraints.h"
#include "qgsdefaultvalue.h"
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

class  QgsField
 Encapsulate a field in an attribute table or data source. More...
 

Typedefs

typedef QList< int > QgsAttributeList
 

Functions

CORE_EXPORT QDataStream & operator<< (QDataStream &out, const QgsField &field)
 Writes the field to stream out. QGIS version compatibility is not guaranteed. More...
 
CORE_EXPORT QDataStream & operator>> (QDataStream &in, QgsField &field)
 Reads a field from stream in into field. QGIS version compatibility is not guaranteed. More...
 

Typedef Documentation

◆ QgsAttributeList

typedef QList<int> QgsAttributeList

Definition at line 27 of file qgsfield.h.

Function Documentation

◆ operator<<()

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

Writes the field to stream out. QGIS version compatibility is not guaranteed.

Definition at line 300 of file qgsfield.cpp.

◆ operator>>()

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 324 of file qgsfield.cpp.