QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | Public Attributes | List of all members
QgsFields::Field Struct Reference

#include <qgsfields.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 = OriginUnknown
 Origin of the field. More...
 
int originIndex = -1
 Index specific to the origin. More...
 

Detailed Description

Definition at line 57 of file qgsfields.h.

Constructor & Destructor Documentation

◆ Field() [1/2]

QgsFields::Field::Field ( )
inline

Definition at line 59 of file qgsfields.h.

◆ Field() [2/2]

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

Definition at line 62 of file qgsfields.h.

Member Function Documentation

◆ operator!=()

bool QgsFields::Field::operator!= ( const Field other) const
inline
Since
QGIS 2.6

Definition at line 71 of file qgsfields.h.

◆ operator==()

bool QgsFields::Field::operator== ( const Field other) const
inline
Since
QGIS 2.6

Definition at line 69 of file qgsfields.h.

Member Data Documentation

◆ field

QgsField QgsFields::Field::field

Field.

Definition at line 73 of file qgsfields.h.

◆ origin

FieldOrigin QgsFields::Field::origin = OriginUnknown

Origin of the field.

Definition at line 74 of file qgsfields.h.

◆ originIndex

int QgsFields::Field::originIndex = -1

Index specific to the origin.

Definition at line 75 of file qgsfields.h.


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