QGIS API Documentation 4.1.0-Master (5bf3c20f3c9)
Loading...
Searching...
No Matches
QgsFields::Field Struct Reference

#include <qgsfields.h>

Public Member Functions

 Field ()
 Field (const QgsField &f, Qgis::FieldOrigin o, int oi)
bool operator!= (const Field &other) const
bool operator== (const Field &other) const

Public Attributes

QgsField field
 Field.
Qgis::FieldOrigin origin = Qgis::FieldOrigin::Unknown
 Origin of the field.
int originIndex = -1
 Index specific to the origin.

Detailed Description

Definition at line 56 of file qgsfields.h.

Constructor & Destructor Documentation

◆ Field() [1/2]

QgsFields::Field::Field ( )
inline

Definition at line 58 of file qgsfields.h.

◆ Field() [2/2]

QgsFields::Field::Field ( const QgsField & f,
Qgis::FieldOrigin o,
int oi )
inline

Definition at line 60 of file qgsfields.h.

Member Function Documentation

◆ operator!=()

bool QgsFields::Field::operator!= ( const Field & other) const
inline

Definition at line 69 of file qgsfields.h.

◆ operator==()

bool QgsFields::Field::operator== ( const Field & other) const
inline

Definition at line 68 of file qgsfields.h.

Member Data Documentation

◆ field

QgsField QgsFields::Field::field

Field.

Definition at line 71 of file qgsfields.h.

◆ origin

Qgis::FieldOrigin QgsFields::Field::origin = Qgis::FieldOrigin::Unknown

Origin of the field.

Definition at line 72 of file qgsfields.h.

◆ originIndex

int QgsFields::Field::originIndex = -1

Index specific to the origin.

Definition at line 73 of file qgsfields.h.


The documentation for this struct was generated from the following file: