Mobile API Reference  MicroStrategy 2019
DataRowProtocol.h
Go to the documentation of this file.
1 //
2 // DataRowProtocol.h
3 // MicroStrategyMobile
4 //
5 // Created by kyang on 3/9/11.
6 // Copyright 2011 MicroStrategy Inc. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 
13 
14 @protocol MSIDataRowProtocol<NSObject>
18 - (MSIReportDataCell*)cellAt:(NSInteger)index;
19 
23 - (MSIReportDataCell*)cellForHeader:(MSIHeader*)header;
27 @property (nonatomic, readonly) NSInteger formCount;
31 @property (nonatomic, readonly) NSInteger metricCount;
32 
36 - (NSUInteger)cellCount;
37 
41 - (MSIHeaderValue*)headerValueForType:(NSInteger)type atIndex:(NSInteger)index;
42 
46 - (NSString*)formNameAtIndex:(NSInteger)index;
47 
51 - (NSString*)formValueAtIndex:(NSInteger)index;
52 
56 - (NSString*)metricNameAtIndex:(NSInteger)index;
57 
61 - (NSString*)metricValueAtIndex:(NSInteger)index;
62 
66 - (NSString*)metricRawValueAtIndex:(NSInteger)index;
67 
71 - (UIColor*)metricColorAtIndex:(NSInteger)index;
72 
73 - (NSInteger)semanticsAtMetricIndex:(NSInteger)index;
74 
79 
83 - (BOOL)isSubtotalCellAtIndex:(NSInteger)index;
84 
85 @end
Definition: MSIHeaderValue.h:11
signed char BOOL
Definition: PDCwtypes.h:101
Definition: Header.h:12
NSUInteger cellCount()
Definition: DataRowProtocol.h:14
NSInteger metricCount
Definition: DataRowProtocol.h:31
NSInteger formCount
Definition: DataRowProtocol.h:27
Definition: ReportDataCell.h:12