Mobile API Reference  MicroStrategy 2019
MSIExpression Class Reference

#import <MSIExpression.h>

Inheritance diagram for MSIExpression:

Instance Methods

(id) - init
 
(void) - dealloc
 
(int) - getRootChildrenNumber
 
(BOOL- isEmpty
 
(void) - clear
 
(void) - clearAll
 
(void) - undoClearAll
 
(ExpressionNode *) - newNode:support:
 
(void) - handleXml:attributes:support:
 
(void) - buildXml:
 
(NSString *) - getXml
 
(BOOL- setRootNode:
 
(BOOL- addNode:
 
(OperatorNode *) - newOperatorNodeWithExpressionType:function:
 
(OperatorNode *) - newAndNode
 
(OperatorNode *) - newOrNode
 
(ValueNode *) - newValueNode:dataType:
 
(ConstantNode *) - newConstantNodeWithValue:dataType:
 
(TimeNode *) - newTimeNode:
 
(BigDecimalNode *) - newBigDecimalNode:
 
(ShortcutNode *) - newShortcutNode:
 
(FormShortcutNode *) - newFormShortcutNodeWithAttribute:form:
 
(OperatorNode *) - newMetricRankOperatorNodeWithMetric:mrpOperator:
 
(OperatorNode *) - newMetricRankOperatorNodeWithMetric:mrpOperator:ascending:
 
(OperatorNode *) - newMetricPercentOperatorNode:mrpOperator:
 
(OperatorNode *) - newMetricPercentOperatorNode:mrpOperator:ascending:
 
(ElementsObjectNode *) - newElementsObjectNode:attribute:
 
(OperatorNode *) - newAQSubExpression:form:function:dataType:value:
 
(OperatorNode *) - newAQSubExpression:form:function:dataType:firstValue:secondValue:
 
(OperatorNode *) - newMQSubExpression:function:dataType:value:
 
(void) - consolidateTree
 

Class Methods

(NSInteger) + resolveMRPFunctionFromFunction:property4:
 
(void) + updateNodeWithMRPFunction:outerNode:innerNode:ascending:
 
(BOOL+ isBranchQual:
 
(BOOL+ isAndNode:
 
(BOOL+ isOrNode:
 
(BOOL+ isNotNode:
 

Method Documentation

◆ addNode:()

- (BOOL) addNode: (ExpressionNode *)  newNode

◆ buildXml:()

- (void) buildXml: (XMLBuilder *)  builder

◆ clear()

- (void) clear

◆ clearAll()

- (void) clearAll

◆ consolidateTree()

- (void) consolidateTree

Provided by category MSIExpression(Helper).

◆ dealloc()

- (void) dealloc

◆ getRootChildrenNumber()

- (int) getRootChildrenNumber

◆ getXml()

- (NSString*) getXml

◆ handleXml:attributes:support:()

- (void) handleXml: (NSString *)  elementName
attributes: (NSDictionary *)  attributes
support: (SAXSupport *)  support 

◆ init()

- (id) init

◆ isAndNode:()

+ (BOOL) isAndNode: (ExpressionNode *)  node

Provided by category MSIExpression(Helper).

◆ isBranchQual:()

+ (BOOL) isBranchQual: (ExpressionNode *)  node

Provided by category MSIExpression(Helper).

◆ isEmpty()

- (BOOL) isEmpty

◆ isNotNode:()

+ (BOOL) isNotNode: (ExpressionNode *)  node

Provided by category MSIExpression(Helper).

◆ isOrNode:()

+ (BOOL) isOrNode: (ExpressionNode *)  node

Provided by category MSIExpression(Helper).

◆ newAndNode()

- (OperatorNode*) newAndNode

◆ newAQSubExpression:form:function:dataType:firstValue:secondValue:()

- (OperatorNode*) newAQSubExpression: (MSIObjectInfo *)  attributeInfo
form: (MSIObjectInfo *)  form
function: (NSInteger)  function
dataType: (NSInteger)  dataType
firstValue: (NSString *)  firstValue
secondValue: (NSString *)  secondValue 

◆ newAQSubExpression:form:function:dataType:value:()

- (OperatorNode*) newAQSubExpression: (MSIObjectInfo *)  attributeInfo
form: (MSIObjectInfo *)  form
function: (NSInteger)  function
dataType: (NSInteger)  dataType
value: (NSString *)  value 

◆ newBigDecimalNode:()

- (BigDecimalNode*) newBigDecimalNode: (NSString *)  value

◆ newConstantNodeWithValue:dataType:()

- (ConstantNode*) newConstantNodeWithValue: (NSString *)  value
dataType: (NSInteger)  _dataType 

◆ newElementsObjectNode:attribute:()

- (ElementsObjectNode*) newElementsObjectNode: (NSMutableArray *)  _elements
attribute: (MSIObjectInfo *)  _attribue 

◆ newFormShortcutNodeWithAttribute:form:()

- (FormShortcutNode*) newFormShortcutNodeWithAttribute: (MSIObjectInfo *)  attributeInfo
form: (MSIObjectInfo *)  formInfo 

◆ newMetricPercentOperatorNode:mrpOperator:()

- (OperatorNode*) newMetricPercentOperatorNode: (MSIObjectInfo *)  metricInfo
mrpOperator: (NSInteger)  mrpOperator 

◆ newMetricPercentOperatorNode:mrpOperator:ascending:()

- (OperatorNode*) newMetricPercentOperatorNode: (MSIObjectInfo *)  metricInfo
mrpOperator: (NSInteger)  mrpOperator
ascending: (BOOL ascending 

◆ newMetricRankOperatorNodeWithMetric:mrpOperator:()

- (OperatorNode*) newMetricRankOperatorNodeWithMetric: (MSIObjectInfo *)  metricInfo
mrpOperator: (NSInteger)  mrpOperator 

◆ newMetricRankOperatorNodeWithMetric:mrpOperator:ascending:()

- (OperatorNode*) newMetricRankOperatorNodeWithMetric: (MSIObjectInfo *)  metricInfo
mrpOperator: (NSInteger)  mrpOperator
ascending: (BOOL ascending 

◆ newMQSubExpression:function:dataType:value:()

- (OperatorNode*) newMQSubExpression: (MSIObjectInfo *)  metricInfo
function: (NSInteger)  function
dataType: (NSInteger)  dataType
value: (NSString *)  value 

◆ newNode:support:()

- (ExpressionNode*) newNode: (NSDictionary *)  attributes
support: (SAXSupport *)  support 

◆ newOperatorNodeWithExpressionType:function:()

- (OperatorNode*) newOperatorNodeWithExpressionType: (NSInteger)  expressionType
function: (NSInteger)  _function 

◆ newOrNode()

- (OperatorNode*) newOrNode

◆ newShortcutNode:()

- (ShortcutNode*) newShortcutNode: (MSIObjectInfo *)  object

◆ newTimeNode:()

- (TimeNode*) newTimeNode: (NSString *)  value

◆ newValueNode:dataType:()

- (ValueNode*) newValueNode: (NSString *)  value
dataType: (NSInteger)  _dataType 

◆ resolveMRPFunctionFromFunction:property4:()

+ (NSInteger) resolveMRPFunctionFromFunction: (NSInteger)  function
property4: (NSString *)  pr4 

Provided by category MSIExpression(Helper).

◆ setRootNode:()

- (BOOL) setRootNode: (ExpressionNode *)  newRoot

◆ undoClearAll()

- (void) undoClearAll

◆ updateNodeWithMRPFunction:outerNode:innerNode:ascending:()

+ (void) updateNodeWithMRPFunction: (NSInteger)  mrpFunction
outerNode: (OperatorNode *)  outerNode
innerNode: (OperatorNode *)  innerNode
ascending: (BOOL ascending 

Provided by category MSIExpression(Helper).