DataAnnotation that is added on a DataType to define which property path contains the main geometry.
More...
#include <luciad/datamodels/GeometryDataAnnotation.h>
DataAnnotation that is added on a DataType to define which property path contains the main geometry.
The referred-to property must have Geometry
as its data type.
- See also
- DataPropertyPath
◆ GeometryDataAnnotation()
luciad::GeometryDataAnnotation::GeometryDataAnnotation |
( |
DataPropertyPath |
propertyPath | ) |
|
|
explicit |
Creates a new GeometryDataAnnotation instance.
- Parameters
-
propertyPath | the path to the data property that contains the geometry. |
◆ find()
Searches for the geometry data annotation on a give data type.
- Parameters
-
- Returns
- the geometry annotation found. Can be
nullptr
if not found.
◆ getHash()
size_t luciad::GeometryDataAnnotation::getHash |
( |
| ) |
const |
|
overridevirtual |
◆ getPropertyPath()
const DataPropertyPath & luciad::GeometryDataAnnotation::getPropertyPath |
( |
| ) |
const |
Returns the geometry property path for the type annotated with this annotation.
- Returns
- the geometry property path for the type annotated with this annotation.
◆ operator!=()
bool luciad::GeometryDataAnnotation::operator!= |
( |
const DataAnnotation & |
other | ) |
const |
|
overridevirtual |
◆ operator==()
bool luciad::GeometryDataAnnotation::operator== |
( |
const DataAnnotation & |
other | ) |
const |
|
overridevirtual |