Vuo 2.4.2
Loading...
Searching...
No Matches
VuoRunnerCocoa+Conversion.hh
Go to the documentation of this file.
1
10#pragma once
11
12#if defined(__OBJC__) || defined(DOXYGEN)
13
14#include <string>
15using namespace std;
16
17#include "VuoRunnerCocoa.h"
18
19extern "C" {
20#include "VuoImage.h"
21}
22
26@interface VuoRunnerCocoa (Conversion)
27+ (id)cocoaObjectWithVuoValue:(json_object *)vuoValue ofType:(string)type;
28+ (json_object *)vuoValueWithCocoaObject:(id)value;
29+ (NSImage *)nsImageWithVuoImage:(VuoImage)vi;
30@end
31
35@interface NSNumber (VuoRunnerCocoaConversion)
36- (json_object *)vuoValue;
37@end
38
42@interface NSString (VuoRunnerCocoaConversion)
43- (json_object *)vuoValue;
44@end
45
49@interface NSColor (VuoRunnerCocoaConversion)
50- (json_object *)vuoValue;
51@end
52
56@interface CIColor (VuoRunnerCocoaConversion)
57- (json_object *)vuoValue;
58@end
59
63@interface NSImage (VuoRunnerCocoaConversion)
64- (json_object *)vuoValue;
65@end
66
70@interface NSBitmapImageRep (VuoRunnerCocoaConversion)
71- (json_object *)vuoValue;
72@end
73
77@interface NSValue (VuoRunnerCocoaConversion)
78- (json_object *)vuoValue;
79@end
80
84@interface NSData (VuoRunnerCocoaConversion)
85- (json_object *)vuoValue;
86@end
87
91@interface NSArray (VuoRunnerCocoaConversion)
92- (json_object *)vuoValue;
93@end
94
95#endif // defined(__OBJC__) || defined(DOXYGEN)