123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- #import <Realm/RLMObjectId.h>
- #import <Realm/RLMDecimal128.h>
- #pragma mark RLMBSONType
- typedef NS_ENUM(NSUInteger, RLMBSONType) {
-
- RLMBSONTypeNull,
-
- RLMBSONTypeInt32,
-
- RLMBSONTypeInt64,
-
- RLMBSONTypeBool,
-
- RLMBSONTypeDouble,
-
- RLMBSONTypeString,
-
- RLMBSONTypeBinary,
-
- RLMBSONTypeTimestamp,
-
- RLMBSONTypeDatetime,
-
- RLMBSONTypeObjectId,
-
- RLMBSONTypeDecimal128,
-
- RLMBSONTypeRegularExpression,
-
- RLMBSONTypeMaxKey,
-
- RLMBSONTypeMinKey,
-
- RLMBSONTypeDocument,
-
- RLMBSONTypeArray,
-
- RLMBSONTypeUUID
- };
- #pragma mark RLMBSON
- @protocol RLMBSON
- @property (readonly) RLMBSONType bsonType NS_REFINED_FOR_SWIFT;
- - (BOOL)isEqual:(_Nullable id)other;
- @end
- @interface NSNull (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSNumber (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSString (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSData (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSDateInterval (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSDate (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface RLMObjectId (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface RLMDecimal128 (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSRegularExpression (RLMBSON)<RLMBSON>
- @end
- /// MaxKey will always be the greatest value when comparing to other BSON types
- @interface RLMMaxKey : NSObject
- @end
- /// MinKey will always be the smallest value when comparing to other BSON types
- @interface RLMMinKey : NSObject
- @end
- /// :nodoc:
- @interface RLMMaxKey (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface RLMMinKey (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSDictionary (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSMutableArray (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSArray (RLMBSON)<RLMBSON>
- @end
- /// :nodoc:
- @interface NSUUID (RLMBSON)<RLMBSON>
- @end
|