16#ifndef QGSFIELD_PRIVATE_H 
   17#define QGSFIELD_PRIVATE_H 
   48class QgsFieldPrivate : 
public QSharedData
 
   52    QgsFieldPrivate( 
const QString &name = QString(),
 
   53                     QMetaType::Type type = QMetaType::Type::UnknownType,
 
   54                     QMetaType::Type subType = QMetaType::Type::UnknownType,
 
   58                     const QString &comment = QString(),
 
   59                     const QMap< int, QVariant > &metadata = QMap< int, QVariant >() )
 
   67      , metadata( metadata )
 
   71    QgsFieldPrivate( 
const QgsFieldPrivate &other )
 
   72      : QSharedData( other )
 
   75      , subType( other.subType )
 
   77      , length( other.length )
 
   79      , comment( other.comment )
 
   80      , metadata( other.metadata )
 
   81      , alias( other.alias )
 
   82      , flags( other.flags )
 
   83      , defaultValueDefinition( other.defaultValueDefinition )
 
   84      , constraints( other.constraints )
 
   85      , editorWidgetSetup( other.editorWidgetSetup )
 
   86      , splitPolicy( other.splitPolicy )
 
   87      , duplicatePolicy( other.duplicatePolicy )
 
   88      , mergePolicy( other.mergePolicy )
 
   89      , isReadOnly( other.isReadOnly )
 
   93    ~QgsFieldPrivate() = 
default;
 
   96    bool operator==( 
const QgsFieldPrivate &other )
 const 
   98      return ( ( name == other.name ) && ( type == other.type ) && ( subType == other.subType )
 
   99               && ( length == other.length ) && ( 
precision == other.precision )
 
  100               && ( metadata == other.metadata )
 
  101               && ( alias == other.alias ) && ( defaultValueDefinition == other.defaultValueDefinition )
 
  102               && ( constraints == other.constraints )  && ( flags == other.flags )
 
  103               && ( splitPolicy == other.splitPolicy )
 
  104               && ( duplicatePolicy == other.duplicatePolicy )
 
  105               && ( mergePolicy == other.mergePolicy )
 
  106               && ( isReadOnly == other.isReadOnly )
 
  107               && ( editorWidgetSetup == other.editorWidgetSetup ) );
 
  114    QMetaType::Type type;
 
  117    QMetaType::Type subType;
 
  132    QMap< int, QVariant > metadata;
 
  158    bool isReadOnly = 
false;
 
  161    QgsFieldPrivate &operator=( 
const QgsFieldPrivate & ) = 
delete;
 
FieldDomainMergePolicy
Merge policy for field domains.
 
@ UnsetField
Clears the field value so that the data provider backend will populate using any backend triggers or ...
 
FieldDomainSplitPolicy
Split policy for field domains.
 
@ Duplicate
Duplicate original value.
 
FieldDuplicatePolicy
Duplicate policy for fields.
 
@ Duplicate
Duplicate original value.
 
@ NoFlag
No flag is defined.
 
QFlags< FieldConfigurationFlag > FieldConfigurationFlags
Configuration flags for fields These flags are meant to be user-configurable and are not describing a...
 
Provides a container for managing client side default values for fields.
 
Stores information about constraints which may be present on a field.
 
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)