Objective-CclassFoundation
NSIndexSet
@interface NSIndexSet : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolNSCopying
- protocolNSMutableCopying
- protocolNSSecureCoding
Members 70
- method
+ (id)_alloc; - method
+ (BOOL)_subclassesMustBeExplicitlyMentionedWhenDecoded; - method
+ (id)allocWithZone:(struct _NSZone *)arg0; - method
+ (id)indexSet; - method
+ (id)indexSetWithBitfield:(unsigned long long)arg0; - method
+ (id)indexSetWithIndex:(unsigned long long)arg0; - method
+ (id)indexSetWithIndexes:(const unsigned long long *)arg0 count:(unsigned long long)arg1; - method
+ (id)indexSetWithIndexesInRange:(_NSRange)arg0; - method
+ (void)initialize; - method
+ (BOOL)supportsSecureCoding; - property
@property(class, readonly) BOOL supportsSecureCoding; - ivar
struct { int _hasSingleRange : 1; int _hasBitfield : 1; int _reservedArrayBinderController : 30; } _indexSetFlags;+0x8 - ivar
union { struct { struct _NSRange { unsigned long long location; unsigned long long length; } _range; } _singleRange; struct { void * _data; void * _reserved; } _multipleRanges; struct { unsigned long long _bitfield; } _singleBitfield; } _internal;+0x10 - method
- (void)__forwardEnumerateRanges:(id /* block */)arg0; - method
- (unsigned long long)__getContainmentVector:(out BOOL *)arg0 inRange:(_NSRange)arg1; - method
- (unsigned long long)_indexAtIndex:(unsigned long long)arg0; - method
- (unsigned long long)_indexOfRangeAfterOrContainingIndex:(unsigned long long)arg0; - method
- (unsigned long long)_indexOfRangeBeforeOrContainingIndex:(unsigned long long)arg0; - method
- (unsigned long long)_indexOfRangeContainingIndex:(unsigned long long)arg0; - method
- (id)_init; - method
- (id)_numberEnumerator; - method
- (void)_setContentToContentFromIndexSet:(id)arg0; - method
- (Class)classForCoder; - method
- (BOOL)containsIndex:(unsigned long long)arg0; - method
- (BOOL)containsIndexes:(id)arg0; - method
- (BOOL)containsIndexesInRange:(_NSRange)arg0; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (unsigned long long)count; - method
- (unsigned long long)countOfIndexesInRange:(_NSRange)arg0; - method
- (void)dealloc; - method
- (id)description; - method
- (void)encodeWithCoder:(id)arg0; - method
- (void)enumerateIndexesInRange:(_NSRange)arg0 options:(unsigned long long)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateIndexesUsingBlock:(id /* block */)arg0; - method
- (void)enumerateIndexesWithOptions:(unsigned long long)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateRangesInRange:(_NSRange)arg0 options:(unsigned long long)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateRangesUsingBlock:(id /* block */)arg0; - method
- (void)enumerateRangesWithOptions:(unsigned long long)arg0 usingBlock:(id /* block */)arg1; - method
- (unsigned long long)firstIndex; - method
- (BOOL)getBitfield:(unsigned long long *)arg0; - method
- (unsigned long long)getIndexes:(unsigned long long *)arg0 maxCount:(unsigned long long)arg1 inIndexRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)arg2; - method
- (unsigned long long)hash; - method
- (unsigned long long)indexGreaterThanIndex:(unsigned long long)arg0; - method
- (unsigned long long)indexGreaterThanOrEqualToIndex:(unsigned long long)arg0; - method
- (unsigned long long)indexInRange:(_NSRange)arg0 options:(unsigned long long)arg1 passingTest:(id /* block */)arg2; - method
- (unsigned long long)indexLessThanIndex:(unsigned long long)arg0; - method
- (unsigned long long)indexLessThanOrEqualToIndex:(unsigned long long)arg0; - method
- (unsigned long long)indexPassingTest:(id /* block */)arg0; - method
- (unsigned long long)indexWithOptions:(unsigned long long)arg0 passingTest:(id /* block */)arg1; - method
- (id)indexesInRange:(_NSRange)arg0 options:(unsigned long long)arg1 passingTest:(id /* block */)arg2; - method
- (id)indexesPassingTest:(id /* block */)arg0; - method
- (id)indexesWithOptions:(unsigned long long)arg0 passingTest:(id /* block */)arg1; - method
- (id)init; - method
- (id)initWithBitfield:(unsigned long long)arg0; - method
- (id)initWithCoder:(id)arg0; - method
- (id)initWithIndex:(unsigned long long)arg0; - method
- (id)initWithIndexSet:(id)arg0; - method
- (id)initWithIndexes:(const unsigned long long *)arg0 count:(unsigned long long)arg1; - method
- (id)initWithIndexesInRange:(_NSRange)arg0; - method
- (BOOL)intersectsIndexesInRange:(_NSRange)arg0; - method
- (BOOL)isEqual:(id)arg0; - method
- (BOOL)isEqualToIndexSet:(id)arg0; - method
- (unsigned long long)lastIndex; - method
- (id)mutableCopyWithZone:(struct _NSZone *)arg0; - method
- (_NSRange)rangeAtIndex:(unsigned long long)arg0; - method
- (unsigned long long)rangeCount; - method
- (id)replacementObjectForPortCoder:(id)arg0; - property
@property(readonly) unsigned long long count; - property
@property(readonly) unsigned long long firstIndex; - property
@property(readonly) unsigned long long lastIndex;
Header
@interface NSIndexSet : NSObject <NSCopying, NSMutableCopying, NSSecureCoding> { struct { int _hasSingleRange : 1; int _hasBitfield : 1; int _reservedArrayBinderController : 30; } _indexSetFlags; union { struct { struct _NSRange _range; } _singleRange; struct { void * _data; void * _reserved; } _multipleRanges; struct { unsigned long long _bitfield; } _singleBitfield; } _internal; } @property (class, readonly) BOOL supportsSecureCoding; @property (readonly) unsigned long long count; @property (readonly) unsigned long long firstIndex; @property (readonly) unsigned long long lastIndex; + (void)initialize; + (BOOL)supportsSecureCoding; + (id)allocWithZone:(struct _NSZone *)zone; + (BOOL)_subclassesMustBeExplicitlyMentionedWhenDecoded; + (id)indexSetWithIndexesInRange:(struct _NSRange)range; + (id)_alloc; + (id)indexSet; + (id)indexSetWithBitfield:(unsigned long long)bitfield; + (id)indexSetWithIndex:(unsigned long long)index; + (id)indexSetWithIndexes:(const unsigned long long *)indexes count:(unsigned long long)count; - (Class)classForCoder; - (id)initWithIndex:(unsigned long long)index; - (id)mutableCopyWithZone:(struct _NSZone *)zone; - (id)initWithBitfield:(unsigned long long)bitfield; - (id)description; - (id)copyWithZone:(struct _NSZone *)zone; - (id)_init; - (BOOL)isEqual:(id)isEqual; - (id)initWithIndexesInRange:(struct _NSRange)range; - (void)dealloc; - (struct _NSRange)rangeAtIndex:(unsigned long long)index; - (void)enumerateIndexesUsingBlock:(id /* block */)block; - (void)encodeWithCoder:(id)coder; - (id)initWithIndexSet:(id)indexSet; - (id)init; - (unsigned long long)hash; - (unsigned long long)count; - (id)initWithCoder:(id)coder; - (void)enumerateRangesUsingBlock:(id /* block */)block; - (unsigned long long)__getContainmentVector:(out BOOL *)__getContainmentVector inRange:(struct _NSRange)inRange; - (void)__forwardEnumerateRanges:(id /* block */)__forwardEnumerateRanges; - (BOOL)containsIndex:(unsigned long long)containsIndex; - (unsigned long long)countOfIndexesInRange:(struct _NSRange)range; - (unsigned long long)firstIndex; - (unsigned long long)lastIndex; - (unsigned long long)rangeCount; - (unsigned long long)indexGreaterThanOrEqualToIndex:(unsigned long long)index; - (id)indexesWithOptions:(unsigned long long)options passingTest:(id /* block */)passingTest; - (unsigned long long)_indexAtIndex:(unsigned long long)index; - (unsigned long long)_indexOfRangeAfterOrContainingIndex:(unsigned long long)index; - (unsigned long long)_indexOfRangeBeforeOrContainingIndex:(unsigned long long)index; - (unsigned long long)_indexOfRangeContainingIndex:(unsigned long long)index; - (id)_numberEnumerator; - (void)_setContentToContentFromIndexSet:(id)indexSet; - (BOOL)containsIndexes:(id)containsIndexes; - (BOOL)containsIndexesInRange:(struct _NSRange)range; - (void)enumerateIndexesInRange:(struct _NSRange)range options:(unsigned long long)options usingBlock:(id /* block */)usingBlock; - (void)enumerateIndexesWithOptions:(unsigned long long)options usingBlock:(id /* block */)usingBlock; - (void)enumerateRangesInRange:(struct _NSRange)range options:(unsigned long long)options usingBlock:(id /* block */)usingBlock; - (void)enumerateRangesWithOptions:(unsigned long long)options usingBlock:(id /* block */)usingBlock; - (BOOL)getBitfield:(unsigned long long *)bitfield; - (unsigned long long)getIndexes:(unsigned long long *)indexes maxCount:(unsigned long long)maxCount inIndexRange:(struct _NSRange *)inIndexRange; - (unsigned long long)indexGreaterThanIndex:(unsigned long long)indexGreaterThanIndex; - (unsigned long long)indexInRange:(struct _NSRange)range options:(unsigned long long)options passingTest:(id /* block */)passingTest; - (unsigned long long)indexLessThanIndex:(unsigned long long)indexLessThanIndex; - (unsigned long long)indexLessThanOrEqualToIndex:(unsigned long long)index; - (unsigned long long)indexPassingTest:(id /* block */)indexPassingTest; - (unsigned long long)indexWithOptions:(unsigned long long)options passingTest:(id /* block */)passingTest; - (id)indexesInRange:(struct _NSRange)range options:(unsigned long long)options passingTest:(id /* block */)passingTest; - (id)indexesPassingTest:(id /* block */)indexesPassingTest; - (id)initWithIndexes:(const unsigned long long *)indexes count:(unsigned long long)count; - (BOOL)intersectsIndexesInRange:(struct _NSRange)range; - (BOOL)isEqualToIndexSet:(id)indexSet; - (id)replacementObjectForPortCoder:(id)portCoder; @end