|
GDAL
|
Definition of a field domain. More...
#include <ogr_feature.h>
Public Member Functions | |
| virtual | ~OGRFieldDomain ()=0 |
| Destructor. More... | |
| virtual OGRFieldDomain * | Clone () const =0 |
| Clone. 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.
A field domain is a set of constraints that apply to one or several fields.
This is a concept found in File Geodatabase or GeoPackage (using the schema extension) for example.
A field domain can be:
|
pure virtualdefault |
Destructor.
This is the same as the C function OGR_FldDomain_Destroy().
|
pure virtual |
Clone.
Return a cloned object, or nullptr in case of error.
Implemented in OGRGlobFieldDomain, OGRRangeFieldDomain, and OGRCodedFieldDomain.
|
inline |
Get the description of the field domain.
Empty string if there is none.
This is the same as the C function OGR_FldDomain_GetDescription().
|
inline |
Get the type of the field domain.
This is the same as the C function OGR_FldDomain_GetDomainType().
|
inline |
Get the field subtype.
This is the same as the C function OGR_FldDomain_GetFieldSubType().
|
inline |
Get the field type.
This is the same as the C function OGR_FldDomain_GetFieldType().
|
inline |
Get the merge policy.
This is the same as the C function OGR_FldDomain_GetMergePolicy().
|
inline |
Get the name of the field domain.
This is the same as the C function OGR_FldDomain_GetName().
|
inline |
Get the split policy.
This is the same as the C function OGR_FldDomain_GetSplitPolicy().
|
inline |
Set the merge policy.
This is the same as the C function OGR_FldDomain_SetMergePolicy().
|
inline |
Set the split policy.
This is the same as the C function OGR_FldDomain_SetSplitPolicy().