| 
    GDAL
    
   | 
 
Definition of a field domain for field content validated by a glob. More...
#include <ogr_feature.h>
  
Public Member Functions | |
| OGRGlobFieldDomain (const std::string &osName, const std::string &osDescription, OGRFieldType eFieldType, OGRFieldSubType eFieldSubType, const std::string &osBlob) | |
| Constructor.  More... | |
| OGRGlobFieldDomain * | Clone () const override | 
| Clone.  More... | |
| const std::string & | GetGlob () const | 
| Get the glob expression.  More... | |
| const std::string & | GetName () const | 
| Get the name of the field domain.  More... | |
| const std::string & | GetDescription () const | 
| Get the description of the field domain.  More... | |
| OGRFieldDomainType | GetDomainType () const | 
| Get the type of the field domain.  More... | |
| OGRFieldType | GetFieldType () const | 
| Get the field type.  More... | |
| OGRFieldSubType | GetFieldSubType () const | 
| Get the field subtype.  More... | |
| OGRFieldDomainSplitPolicy | GetSplitPolicy () const | 
| Get the split policy.  More... | |
| void | SetSplitPolicy (OGRFieldDomainSplitPolicy policy) | 
| Set the split policy.  More... | |
| OGRFieldDomainMergePolicy | GetMergePolicy () const | 
| Get the merge policy.  More... | |
| void | SetMergePolicy (OGRFieldDomainMergePolicy policy) | 
| Set the merge policy.  More... | |
Static Public Member Functions | |
| static OGRFieldDomainH | ToHandle (OGRFieldDomain *poFieldDomain) | 
| Convert a OGRFieldDomain* to a OGRFieldDomainH.  | |
| static OGRFieldDomain * | FromHandle (OGRFieldDomainH hFieldDomain) | 
| Convert a OGRFieldDomainH to a OGRFieldDomain*.  | |
Definition of a field domain for field content validated by a glob.
Globs are matching expression like "*[a-z][0-1]?"
| OGRGlobFieldDomain::OGRGlobFieldDomain | ( | const std::string & | osName, | 
| const std::string & | osDescription, | ||
| OGRFieldType | eFieldType, | ||
| OGRFieldSubType | eFieldSubType, | ||
| const std::string & | osBlob | ||
| ) | 
Constructor.
This is the same as the C function OGR_GlobFldDomain_Create().
| osName | Domain name. | 
| osDescription | Domain description. | 
| eFieldType | Field type. | 
| eFieldSubType | Field subtype. | 
| osBlob | Blob expression | 
      
  | 
  inlineoverridevirtual | 
      
  | 
  inlineinherited | 
Get the description of the field domain.
Empty string if there is none.
This is the same as the C function OGR_FldDomain_GetDescription().
      
  | 
  inlineinherited | 
Get the type of the field domain.
This is the same as the C function OGR_FldDomain_GetDomainType().
      
  | 
  inlineinherited | 
Get the field subtype.
This is the same as the C function OGR_FldDomain_GetFieldSubType().
      
  | 
  inlineinherited | 
Get the field type.
This is the same as the C function OGR_FldDomain_GetFieldType().
      
  | 
  inline | 
Get the glob expression.
This is the same as the C function OGR_GlobFldDomain_GetGlob().
      
  | 
  inlineinherited | 
Get the merge policy.
This is the same as the C function OGR_FldDomain_GetMergePolicy().
      
  | 
  inlineinherited | 
Get the name of the field domain.
This is the same as the C function OGR_FldDomain_GetName().
      
  | 
  inlineinherited | 
Get the split policy.
This is the same as the C function OGR_FldDomain_GetSplitPolicy().
      
  | 
  inlineinherited | 
Set the merge policy.
This is the same as the C function OGR_FldDomain_SetMergePolicy().
      
  | 
  inlineinherited | 
Set the split policy.
This is the same as the C function OGR_FldDomain_SetSplitPolicy().