Classes

struct CowlClass : public CowlClsExp, public CowlEntity

Represents a Class in the OWL 2 specification.

Public Static Functions

static inline CowlClass *cowl_class(CowlIRI *iri)

Returns a retained class.

Parameters

iri – IRI of the class.

Returns

Retained class, or NULL on error.

static inline CowlClass *cowl_class_from_string(UString string)

Returns a retained class given the string representation of its IRI.

Parameters

string – String representation of the IRI.

Returns

Retained class, or NULL on error.

static inline CowlIRI *cowl_class_get_iri(CowlClass *cls)

Gets the IRI of the specified class.

Parameters

cls – The class.

Returns

IRI of the class.

cowl_class_from_static(CSTR)

Returns a retained class given the static string representation of its IRI.

Parameters
  • CSTR – [char const[]] Static string.

Returns

[CowlClass *] Retained class, or NULL on error.