Literal enumeration

struct CowlDataOneOf

Represents DataOneOf in the OWL 2 specification.

Pseudo-extends: CowlDataRange

CowlDataOneOf *cowl_data_one_of(CowlVector *values)

Returns a literal enumeration.

Note

You must release the returned object via cowl_release().

Parameters:
  • values – The enumeration values.

Returns:

Literal enumeration, or NULL on error.

CowlVector *cowl_data_one_of_get_values(CowlDataOneOf *range)

Gets the values of the specified literal enumeration.

Parameters:
  • range – The literal enumeration.

Returns:

The values.