Splunk MINT SDK for iOS  4.4
 All Classes Files Functions Enumerations Enumerator Properties Macros
LimitedExtraDataList.h
Go to the documentation of this file.
1 //
2 // LimitedExtraDataList.h
3 // Splunk-iOS
4 //
5 // Created by G.Tas on 11/2/13.
6 // Copyright (c) 2013 Splunk. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "ExtraData.h"
11 #import "DataFixture.h"
12 
17 @interface LimitedExtraDataList : SPLJSONModel
18 
23 @property (nonatomic, readonly) NSUInteger maxCount;
24 
28 @property (nonatomic, readonly) NSUInteger count;
29 
33 @property (nonatomic, strong) NSMutableArray* extraDataArray;
34 
41 
47 - (void) add:(ExtraData*)extraData;
48 
54 - (void) remove:(ExtraData*)extraData;
55 
62 - (void) addWithKey:(NSString*)key andValue:(NSString*)value;
63 
69 - (void) removeWithKey:(NSString*)key;
70 
78 - (NSInteger) indexOf:(ExtraData*)extraData;
79 
86 - (void) insertAtIndex:(NSUInteger)index extraData:(ExtraData*)extraData;
87 
93 - (void) removeAtIndex:(NSUInteger)index;
94 
98 - (void) clear;
99 
107 - (BOOL) contains:(ExtraData*)extraData;
108 
113 - (void)addPrivateExtraDataToDataFixture:(DataFixture*)dataFixture;
114 
119 + (void) addExtraDataToDataFixture:(DataFixture*)dataFixture;
120 
121 @end
NSUInteger count
Definition: LimitedExtraDataList.h:28
Definition: ExtraData.h:15
NSMutableArray * extraDataArray
Definition: LimitedExtraDataList.h:33
NSUInteger maxCount
Definition: LimitedExtraDataList.h:23
LimitedExtraDataList * sharedInstance()
Definition: LimitedExtraDataList.h:17