QGIS API Documentation  3.17.0-Master (a035f434f4)
Classes | Typedefs | Functions | Variables
qgsfield.h File Reference
#include <QString>
#include <QVariant>
#include <QVector>
#include <QSharedDataPointer>
#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 &in, QgsField &field)
 Reads a field from stream in into field. QGIS version compatibility is not guaranteed. More...
 
 Q_DECLARE_OPERATORS_FOR_FLAGS (QgsField::ConfigurationFlags) CORE_EXPORT QDataStream &operator<<(QDataStream &out
 Writes the field to stream out. QGIS version compatibility is not guaranteed. More...
 

Variables

const QgsFieldfield
 

Typedef Documentation

◆ QgsAttributeList

typedef QList<int> QgsAttributeList

Definition at line 26 of file qgsfield.h.

Function Documentation

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

◆ Q_DECLARE_OPERATORS_FOR_FLAGS()

Q_DECLARE_OPERATORS_FOR_FLAGS ( QgsField::ConfigurationFlags  ) &

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

Variable Documentation

◆ field

const QgsField& field

Definition at line 471 of file qgsfield.h.