Default constructor. Creates an empty Field.
Field::Field(Esri::ArcGISRuntime::FieldType fieldType, const QString &name, const QString &alias, int length, const Esri::ArcGISRuntime::Domain &domain, bool isEditable, bool isNullable)Create Field based on given parameters.
Copy constructor from other Field.
[noexcept]
Field::Field(Esri::ArcGISRuntime::Field &&other)
Move constructor from other Field.
[noexcept]
Field::~Field()
Destructor.
QString Field::alias() constReturns the alias name of the field.
The alias name is usually more user-friendly than the actual field name, which may be constrained by the underlying data source's naming convention.
If there is no alias defined, an empty string is returned.
[static, since Esri::ArcGISRuntime 200.4]
Esri::ArcGISRuntime::Field Field::createBigInt(const QString &name, const QString &alias)
Returns a new FieldType::Int64 field object with the following parameters.
Use this method to create a field. The field will be editable and nullable.
This function was introduced in Esri::ArcGISRuntime 200.4.
[static]
Esri::ArcGISRuntime::Field Field::createDate(const QString &name, const QString &alias)
Returns a field representing a date with the provided name and alias.
The field returned is editable and nullable.
[static, since Esri::ArcGISRuntime 200.4]
Esri::ArcGISRuntime::Field Field::createDateOnly(const QString &name, const QString &alias)
Returns a new FieldType::DateOnly field object with the following parameters.
Use this method to create a field. The field will be editable and nullable.
This function was introduced in Esri::ArcGISRuntime 200.4.
[static]
Esri::ArcGISRuntime::Field Field::createDouble(const QString &name, const QString &alias)
Returns a field representing a double with the provided name and alias.
The field returned is editable and nullable.
[static]
Esri::ArcGISRuntime::Field Field::createFloat(const QString &name, const QString &alias)
Returns a field representing a float with the provided name and alias.
The field returned is editable and nullable.
[static]
Esri::ArcGISRuntime::Field Field::createLongInt(const QString &name, const QString &alias)
Returns a field representing a 32 bit int with the provided name and alias.
The field returned is editable and nullable.
[static]
Esri::ArcGISRuntime::Field Field::createShortInt(const QString &name, const QString &alias)
Returns a field representing a 16 bit int with the provided name and alias.
The field returned is editable and nullable.
[static]
Esri::ArcGISRuntime::Field Field::createText(const QString &name, const QString &alias, int length)
Returns a field representing a string with the provided name, alias, and length.
The field returned is editable and nullable.
[static, since Esri::ArcGISRuntime 200.4]
Esri::ArcGISRuntime::Field Field::createTimeOnly(const QString &name, const QString &alias)
Returns a new FieldType::TimeOnly field object with the following parameters.
Use this method to create a field. The field will be editable and nullable.
This function was introduced in Esri::ArcGISRuntime 200.4.
[static, since Esri::ArcGISRuntime 200.4]
Esri::ArcGISRuntime::Field Field::createTimestampOffset(const QString &name, const QString &alias)
Returns a new FieldType::TimestampOffset field object with the following parameters.
Use this method to create a field. The field will be editable and nullable.
This function was introduced in Esri::ArcGISRuntime 200.4.
Esri::ArcGISRuntime::Domain Field::domain() constReturns the domain that limits valid field values to a range or to a set of coded values.
If no domain is assigned to this field, then an empty Domain is returned.
Esri::ArcGISRuntime::FieldType Field::fieldType() constReturns the type of value in the field.
[static, since Esri::ArcGISRuntime 200.4]
Esri::ArcGISRuntime::Field Field::fromJson(const QString &json)
Creates a new Field from an ArcGIS JSON representation.
This function was introduced in Esri::ArcGISRuntime 200.4.
bool Field::isEditable() constReturns whether the field is editable.
bool Field::isEmpty() constReturns true
if this Field is empty.
Returns whether the field can accept null values.
int Field::length() constReturns the field length.
QString Field::name() constReturns the name of the field.
QString Field::toJson() constReturns the ArcGIS JSON string representation of the field.
[noexcept]
Esri::ArcGISRuntime::Field &Field::operator=(Esri::ArcGISRuntime::Field &&other)
Move operator from other Field.
Esri::ArcGISRuntime::Field &Field::operator=(const Esri::ArcGISRuntime::Field &other)Assignment operator from other Field.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4