Id capabilities include the ability to refer to elements in a GML version 3 data source using an ogc:GmlObjectId with a gml:id attribute. More...
#include <IdCapabilities.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
IdCapabilities () | |
It initializes a new IdCapabilities. More... | |
~IdCapabilities () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
const bool & | hasEID () const |
It returns true if GML 3 identification is supported, otherwise, it returns false. More... | |
void | enableEID () |
It enables GML 3 identification support. More... | |
void | disableEID () |
It disables GML 3 identification support. More... | |
const bool & | hasFID () const |
It returns true if GML 2 identification is supported, otherwise, it returns false. More... | |
void | enableFID () |
It enables GML 2 identification support. More... | |
void | disableFID () |
It disables GML 2 identification support. More... | |
Private Attributes | |
bool | m_hasEID |
GML version 3 data source may have gml:id. More... | |
bool | m_hasFID |
GML version 2 gml:fid attribute. More... | |
Id capabilities include the ability to refer to elements in a GML version 3 data source using an ogc:GmlObjectId with a gml:id attribute.
Any elements with a gml:id attribute, including features, geometries, topologies, and complex attributes, may be so referenced.
For backward compatibility, Id capabilities also include the ability to refer to features using an ogc:FeatureId with a fid attribute. Only features with a GML version 2 gml:fid attribute may be so referenced. Note that features in a GML version 3 data source may have gml:fid attributes for backwards compatibility with GML version 2, in addition to gml:id attributes introduced in GML version 3. This ability is deprecated.
Definition at line 57 of file IdCapabilities.h.
te::fe::IdCapabilities::IdCapabilities | ( | ) |
It initializes a new IdCapabilities.
te::fe::IdCapabilities::~IdCapabilities | ( | ) |
Destructor.
void te::fe::IdCapabilities::disableEID | ( | ) |
It disables GML 3 identification support.
void te::fe::IdCapabilities::disableFID | ( | ) |
It disables GML 2 identification support.
void te::fe::IdCapabilities::enableEID | ( | ) |
It enables GML 3 identification support.
void te::fe::IdCapabilities::enableFID | ( | ) |
It enables GML 2 identification support.
const bool& te::fe::IdCapabilities::hasEID | ( | ) | const |
It returns true if GML 3 identification is supported, otherwise, it returns false.
const bool& te::fe::IdCapabilities::hasFID | ( | ) | const |
It returns true if GML 2 identification is supported, otherwise, it returns false.
|
private |
GML version 3 data source may have gml:id.
Definition at line 109 of file IdCapabilities.h.
|
private |
GML version 2 gml:fid attribute.
Definition at line 110 of file IdCapabilities.h.