Datatype Definitions

struct CowlDatatypeDefAxiom : public CowlAxiom

Represents a DatatypeDefinition axiom in the OWL 2 specification.

Public Static Functions

static inline CowlDatatypeDefAxiom *cowl_datatype_def_axiom(CowlDatatype *dt, CowlAnyDataRange *range, CowlVector *annot)

Returns a retained datatype definition axiom.

Parameters
  • dt – The defined datatype.

  • range – Range of the defined datatype.

  • annot – [optional] The annotations.

Returns

Retained axiom, or NULL on error.

static inline CowlDatatype *cowl_datatype_def_axiom_get_datatype(CowlDatatypeDefAxiom *axiom)

Gets the defined datatype.

Parameters

axiom – The axiom.

Returns

The datatype.

static inline CowlDataRange *cowl_datatype_def_axiom_get_range(CowlDatatypeDefAxiom *axiom)

Gets the range of the defined datatype.

Parameters

axiom – The axiom.

Returns

The range.

static inline CowlVector *cowl_datatype_def_axiom_get_annot(CowlDatatypeDefAxiom *axiom)

Gets the annotations of the specified axiom.

Parameters

axiom – The axiom.

Returns

The annotations.