34typedef struct IndexSetInterface IndexSetInterface;
74struct IndexSetInterface {
79 ObjectInterface objectInterface;
88 void (*addIndex)(
IndexSet *self,
size_t index);
98 void (*addIndexes)(
IndexSet *self,
size_t *indexes,
size_t count);
107 void (*addIndexesInRange)(
IndexSet *self,
const Range range);
116 bool (*containsIndex)(
const IndexSet *self,
size_t index);
156 IndexSet *(*initWithIndexes)(
IndexSet *self,
size_t *indexes,
size_t count);
164 void (*removeAllIndexes)(
IndexSet *self);
173 void (*removeIndex)(
IndexSet *self,
size_t index);
183 void (*removeIndexes)(
IndexSet *self,
size_t *indexes,
size_t count);
192 void (*removeIndexesInRange)(
IndexSet *self,
const Range range);
OBJECTIVELY_EXPORT Class * _IndexSet(void)
Object is the root Class of The Objectively Class hierarchy.
#define OBJECTIVELY_EXPORT
The runtime representation of a Class.
Collections of unique index values.
Object object
The superclass.
IndexSetInterface * interface
The interface.
size_t * indexes
The indexes.
size_t count
The count of indexes.
Object is the root Class of The Objectively Class hierarchy.
A location and length into contiguous collections.