Inverse Object Properties

struct CowlInvObjProp : public CowlObjPropExp

Represents an InverseObjectProperty in the OWL 2 specification.

Public Static Functions

static inline CowlInvObjProp *cowl_inv_obj_prop(CowlObjProp *prop)

Returns a retained inverse object property.

Parameters

prop – The object property of which the expression is the inverse of.

Returns

Retained inverse object property, or NULL on error.

static inline CowlInvObjProp *cowl_inv_obj_prop_retain(CowlInvObjProp *inv)

Retains the specified inverse object property.

Parameters

inv – The inverse object property.

Returns

Retained inverse object property.

static inline void cowl_inv_obj_prop_release(CowlInvObjProp *inv)

Releases the specified inverse object property.

Parameters

inv – The inverse object property.

static inline CowlObjProp *cowl_inv_obj_prop_get_prop(CowlInvObjProp *inv)

Gets the property of which the expression is the inverse of.

Parameters

inv – The inverse object property.

Returns

The property.

static inline CowlString *cowl_inv_obj_prop_to_string(CowlInvObjProp *inv)

Returns the string representation of the specified inverse object property.

Note

The returned string is retained, so you are responsible for releasing it.

Parameters

inv – The inverse object property.

Returns

String representation, or NULL on error.

static inline bool cowl_inv_obj_prop_equals(CowlInvObjProp *lhs, CowlInvObjProp *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_hash(CowlInvObjProp *inv)

Hash function.

Parameters

inv – The inverse object property.

Returns

The hash value.

static inline bool cowl_inv_obj_prop_iterate_primitives(CowlInvObjProp *inv, CowlPrimitiveFlags flags, CowlIterator *iter)

Iterates over the primitives referenced by the specified inverse object property.

Parameters
  • inv – The inverse object property.

  • flags – Iteration flags.

  • iter – The iterator.

Returns

True if the iteration was completed, false if it was stopped.