QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Public Attributes | List of all members
QgsFields::Field Struct Reference

#include <qgsfield.h>

Public Member Functions

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

Public Attributes

QgsField field
 field More...
FieldOrigin origin
 origin of the field More...
int originIndex
 index specific to the origin More...

Detailed Description

Definition at line 265 of file qgsfield.h.

Constructor & Destructor Documentation

◆ Field() [1/2]

QgsFields::Field::Field ( )

Definition at line 267 of file qgsfield.h.

◆ Field() [2/2]

QgsFields::Field::Field ( const QgsField f,
FieldOrigin  o,
int  oi 

Definition at line 268 of file qgsfield.h.

Member Function Documentation

◆ operator!=()

bool QgsFields::Field::operator!= ( const Field other) const
added in 2.6

Definition at line 273 of file qgsfield.h.

◆ operator==()

bool QgsFields::Field::operator== ( const Field other) const
added in 2.6

Definition at line 271 of file qgsfield.h.

Member Data Documentation

◆ field

QgsField QgsFields::Field::field


Definition at line 275 of file qgsfield.h.

◆ origin

FieldOrigin QgsFields::Field::origin

origin of the field

Definition at line 276 of file qgsfield.h.

◆ originIndex

int QgsFields::Field::originIndex

index specific to the origin

Definition at line 277 of file qgsfield.h.

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