Inverse Object Properties
-
struct CowlInvObjPropAxiom : public CowlAxiom
Represents an InverseObjectProperties axiom in the OWL 2 specification.
Public Static Functions
-
static inline CowlInvObjPropAxiom *cowl_inv_obj_prop_axiom(CowlAnyObjPropExp *first, CowlAnyObjPropExp *second, CowlVector *annot)
Returns a retained inverse object properties axiom.
- Parameters
first – The first object property expression.
second – The second object property expression.
annot – [optional] The annotations.
- Returns
Retained axiom, or NULL on error.
-
static inline CowlInvObjPropAxiom *cowl_inv_obj_prop_axiom_retain(CowlInvObjPropAxiom *axiom)
Retains the specified axiom.
- Parameters
axiom – The axiom.
- Returns
Retained axiom.
-
static inline void cowl_inv_obj_prop_axiom_release(CowlInvObjPropAxiom *axiom)
Releases the specified axiom.
- Parameters
axiom – The axiom.
-
static inline CowlObjPropExp *cowl_inv_obj_prop_axiom_get_first_prop(CowlInvObjPropAxiom *axiom)
Gets the first of the two object property expressions.
- Parameters
axiom – The axiom.
- Returns
The first object property expression.
-
static inline CowlObjPropExp *cowl_inv_obj_prop_axiom_get_second_prop(CowlInvObjPropAxiom *axiom)
Gets the second of the two object property expressions.
- Parameters
axiom – The axiom.
- Returns
The second object property expression.
-
static inline CowlVector *cowl_inv_obj_prop_axiom_get_annot(CowlInvObjPropAxiom *axiom)
Gets the annotations of the specified axiom.
- Parameters
axiom – The axiom.
- Returns
The annotations.
-
static inline CowlString *cowl_inv_obj_prop_axiom_to_string(CowlInvObjPropAxiom *axiom)
Returns the string representation of the specified axiom.
Note
The returned string is retained, so you are responsible for releasing it.
- Parameters
axiom – The axiom.
- Returns
String representation, or NULL on error.
-
static inline bool cowl_inv_obj_prop_axiom_equals(CowlInvObjPropAxiom *lhs, CowlInvObjPropAxiom *rhs)
Equality function.
- Parameters
lhs – LHS of the equality relation.
rhs – RHS of the equality relation.
- Returns
True if the equality relation holds, false otherwise.
-
static inline ulib_uint cowl_inv_obj_prop_axiom_hash(CowlInvObjPropAxiom *axiom)
Hash function.
- Parameters
axiom – The axiom.
- Returns
The hash value.
-
static inline bool cowl_inv_obj_prop_axiom_iterate_primitives(CowlInvObjPropAxiom *axiom, CowlPrimitiveFlags flags, CowlIterator *iter)
Iterates over the primitives referenced by the specified axiom.
- Parameters
axiom – The axiom.
flags – Iteration flags.
iter – The iterator.
- Returns
True if the iteration was completed, false if it was stopped.
-
static inline CowlInvObjPropAxiom *cowl_inv_obj_prop_axiom(CowlAnyObjPropExp *first, CowlAnyObjPropExp *second, CowlVector *annot)