Abstract class that defines interface for feature indices collection.
More...
virtual bool areRawFeatureIndicesAvailable |
( |
| ) |
const |
|
pure virtual |
Checks if the raw array of feature indices is available
- Returns
- True if the raw array of indices is available
Gets the first index in the collection
- Returns
- The very first index in the collection. If collection is empty, method returns FeatureIndexTraits::invalid() value
Gets the last index in the collection
- Returns
- The last index in the collection. If collection is empty, method returns FeatureIndexTraits::invalid() value
virtual services::BufferView<FeatureIndex> getRawFeatureIndices |
( |
| ) |
|
|
pure virtual |
Gets the raw array that stores all feature indices available in the collection
- Returns
- The buffer view object that contains continuous sequence of features
virtual bool isPlainRange |
( |
| ) |
const |
|
pure virtual |
Checks if collection represents continuous range of indices. If method returns True, the methods getFirst() and getLast() return lower and upper bounds of the range
- Returns
- True if the feature indices collection contains continuous range of indices
virtual size_t size |
( |
| ) |
const |
|
pure virtual |
Returns the number of feature indices in the collection
The documentation for this class was generated from the following file: