Datatypes
-
struct CowlDatatype : public CowlDataRange, public CowlEntity
Represents a Datatype in the OWL 2 specification.
Public Static Functions
-
static inline CowlDatatype *cowl_datatype(CowlIRI *iri)
Returns a retained datatype.
- Parameters
iri – IRI of the datatype.
- Returns
Retained datatype, or NULL on error.
-
static inline CowlDatatype *cowl_datatype_from_string(UString string)
Returns a retained datatype given the string representation of its IRI.
- Parameters
string – String representation of the IRI.
- Returns
Retained datatype, or NULL on error.
-
static inline CowlIRI *cowl_datatype_get_iri(CowlDatatype *dt)
Gets the IRI of the specified datatype.
- Parameters
dt – The datatype.
- Returns
The IRI.
-
cowl_datatype_from_static(CSTR)
Returns a retained datatype given the static string representation of its IRI.
- Parameters
CSTR – [char const[]] Static string.
- Returns
[CowlDatatype *] Retained datatype, or NULL on error.
-
static inline CowlDatatype *cowl_datatype(CowlIRI *iri)