Annotations
-
struct CowlAnnotation : public CowlObject
Represents an Annotation in the OWL 2 specification.
Public Static Functions
-
static inline CowlAnnotation *cowl_annotation(CowlAnnotProp *prop, CowlAnyAnnotValue *value, CowlVector *annot)
Returns a retained annotation.
- Parameters
prop – The annotation property.
value – The annotation value.
annot – [optional] The annotations.
- Returns
Retained annotation, or NULL on error.
-
static inline CowlAnnotProp *cowl_annotation_get_prop(CowlAnnotation *annot)
Gets the annotation property.
- Parameters
annot – The annotation.
- Returns
The annotation property.
-
static inline CowlAnnotValue *cowl_annotation_get_value(CowlAnnotation *annot)
Gets the annotation value.
- Parameters
annot – The annotation.
- Returns
The annotation value.
-
static inline CowlVector *cowl_annotation_get_annot(CowlAnnotation *annot)
Gets the annotations of the specified annotation.
- Parameters
annot – The annotation.
- Returns
The annotations.
-
static inline CowlAnnotation *cowl_annotation(CowlAnnotProp *prop, CowlAnyAnnotValue *value, CowlVector *annot)
Types