Complement of Data Ranges
-
struct CowlDataCompl : public CowlDataRange
Represents DataComplementOf the OWL 2 specification.
Public Static Functions
-
static inline CowlDataCompl *cowl_data_compl(CowlAnyDataRange *operand)
Returns a retained data range complement.
- Parameters
operand – The data range which this data range is a complement of.
- Returns
Retained data range complement, or NULL on error.
-
static inline CowlDataCompl *cowl_data_compl_retain(CowlDataCompl *range)
Retains the specified data range complement.
- Parameters
range – The data range complement.
- Returns
Retained data range complement.
-
static inline void cowl_data_compl_release(CowlDataCompl *range)
Releases the specified data range complement.
- Parameters
range – The data range complement.
-
static inline CowlDataRange *cowl_data_compl_get_operand(CowlDataCompl *range)
Gets the data range which this data range is a complement of.
- Parameters
range – The data range complement.
- Returns
The operand.
-
static inline CowlString *cowl_data_compl_to_string(CowlDataCompl *range)
Returns the string representation of the specified data range complement.
Note
The returned string is retained, so you are responsible for releasing it.
- Parameters
range – The data range complement.
- Returns
String representation, or NULL on error.
-
static inline bool cowl_data_compl_equals(CowlDataCompl *lhs, CowlDataCompl *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_data_compl_hash(CowlDataCompl *range)
Hash function.
- Parameters
range – The data range complement.
- Returns
The hash value.
-
static inline bool cowl_data_compl_iterate_primitives(CowlDataCompl *range, CowlPrimitiveFlags flags, CowlIterator *iter)
Iterates over the primitives referenced by the specified data range complement.
- Parameters
range – The data range complement.
flags – Iteration flags.
iter – The iterator.
- Returns
True if the iteration was completed, false if it was stopped.
-
static inline CowlDataCompl *cowl_data_compl(CowlAnyDataRange *operand)