A KML simple field object. More...
Header: | #include <KmlSimpleField.h> |
Since: | Esri::ArcGISRuntime 200.5 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
KmlSimpleField(Esri::ArcGISRuntime::KmlSimpleFieldType type, const QString &name, const QString &displayName, bool isArray, QObject *parent = nullptr) | |
virtual | ~KmlSimpleField() override |
QString | displayName() const |
bool | isArray() const |
QString | name() const |
Esri::ArcGISRuntime::KmlSimpleFieldType | type() const |
bool | operator!=(const Esri::ArcGISRuntime::KmlSimpleField &other) const |
bool | operator==(const Esri::ArcGISRuntime::KmlSimpleField &other) const |
Detailed Description
The combination of the name and the KmlSimpleFieldType creates a unique KML simple field.
Member Function Documentation
[since Esri::ArcGISRuntime 200.6]
KmlSimpleField::KmlSimpleField (Esri::ArcGISRuntime::KmlSimpleFieldType type, const QString &name, const QString &displayName , bool isArray , QObject *parent = nullptr)
Creates a simple field for use in KML extended data.
- type - The type of the simple field.
- name - The name of the simple field.
- displayName - The display name of the simple field.
- isArray - Indicates if the value of this field is an array.
- parent - The optional parent QObject.
This function was introduced in Esri::ArcGISRuntime 200.6.
[override virtual]
KmlSimpleField::~KmlSimpleField ()
Destructor.
QString KmlSimpleField::displayName () const
Returns the display name of the KML simple field, as defined in the KML file.
bool KmlSimpleField::isArray () const
Returns true
if the value of this KML simple field is an array, false
otherwise.
QString KmlSimpleField::name() const
Returns the name of the KML simple field, as defined in the KML file.
Esri::ArcGISRuntime::KmlSimpleFieldType KmlSimpleField::type() const
Returns the type of the KML simple field, as defined in the KML file.
The default type is string for untyped data.
bool KmlSimpleField::operator!=(const Esri::ArcGISRuntime::KmlSimpleField &other) const
Returns tests if this object is not equal to a second KmlSimpleField object.
- other - The second object.
bool KmlSimpleField::operator==(const Esri::ArcGISRuntime::KmlSimpleField &other) const
Returns true
if this object is equal to a second KmlSimpleField object.
- other - The second object.