1 #import <Foundation/Foundation.h>
2 #import "ContextTemplate.h"
3 #import "DynamicTemplateIndex.h"
36 CtxFORMAT_BGRA8888 = 2,
50 CtxFORMAT_YUV_NV12 = 4,
72 @property (readonly)
void* _Nonnull ptr;
74 -(nonnull instancetype) init: (
void* _Nonnull) context;
85 -(void) setLong: (int64_t) value;
95 -(void) setDouble: (
double) value;
105 -(void) setBool: (
bool) value;
115 -(void) setString: (NSString *_Nonnull) value;
127 -(void) setDataPtr: (const uint8_t *_Nullable) value : (
int) copy_sz;
137 -(void) setNSData: (NSData* _Nonnull) data;
150 -(bool) isContextTemplate;
154 -(bool) isDynamicTemplateIndex;
156 -(void) set: (
Context* _Nonnull) other;
196 -(NSString *_Nonnull) getString;
206 -(uint8_t* _Nonnull) getDataPtr;
216 -(const NSData* _Nonnull) getNSData: (int64_t) size;
226 -(
Context* _Nonnull) at: (
int) index;
236 -(
Context* _Nonnull) get: (NSString *_Nonnull) key;
258 -(bool) contains: (NSString *_Nonnull) key;
270 -(bool) compare: (
Context *_Nonnull) other;
288 -(void) erase: (NSString *_Nonnull) key;
298 -(void) reserve: (
size_t) size;
308 -(void) saveToJsonFile: (NSString *_Nonnull) path;
319 -(nonnull NSMutableArray*) getKeys;
329 -(void) pushBack: (
Context *_Nonnull) value;
339 -(void) pushBackLong: (int64_t) value;
349 -(void) pushBackDouble: (
double) value;
359 -(void) pushBackBool: (
bool) value;
369 -(void) pushBackString: (NSString *_Nonnull) value;
Definition: DynamicTemplateIndex.h:5
Context is an interface object for storing data and interacting with methods from the Processing Bloc...
Definition: Context.h:67
Definition: ContextTemplate.h:4
typedef NS_ENUM(int32_t, CtxFormat)
Format of image data.
Definition: Context.h:16