A KML simple field object. More...
Header | #include <Kml |
Since | Esri |
Inherits | Esri |
Public Functions
(since Esri | Kml |
virtual | ~ |
Q | display |
bool | is |
Q | name() const |
Esri | type() const |
bool | operator!=(const Esri |
bool | operator==(const Esri |
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 noexcept]
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
Tests and returns true
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.