QGIS API Documentation  3.6.0-Noosa (5873452)
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_sip.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 421 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 445 of file qgsfield.cpp.