-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCMUUID.h
More file actions
35 lines (28 loc) · 769 Bytes
/
CMUUID.h
File metadata and controls
35 lines (28 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// CMUUID.h
// WODCoach
//
// Created by Casey Marshall on 6/14/10.
// Copyright 2010 Modal Domains. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CMUUID : NSObject
{
CFUUIDBytes bytes;
}
- (id) initWithString: (NSString *) uuidStr;
- (id) initWithUUIDRef: (CFUUIDRef) uuid;
- (id) initWithUUIDBytes: (CFUUIDBytes) uuidBytes;
- (id) initWithData: (NSData *) data;
+ (CMUUID *) uuidWithString: (NSString *) uuidStr;
+ (CMUUID *) uuidWithUUIDRef: (CFUUIDRef) uuid;
+ (CMUUID *) uuidWithUUIDBytes: (CFUUIDBytes) uuidBytes;
+ (CMUUID *) uuidWithData: (NSData *) data;
+ (CMUUID *) randomUuid;
+ (CMUUID *) nullUuid;
- (NSString *) stringValue;
- (CFUUIDRef) uuid;
- (CFUUIDBytes) bytes;
- (NSData *) data;
- (BOOL) isNullUuid;
@end