Mobile API Reference  MicroStrategy 2019
TemplateSelectionItem.h
Go to the documentation of this file.
1 //
2 // TemplateSelectionItem.h
3 // ReportServiceCore
4 //
5 // Created by Zhang, Lina on 9/9/13.
6 // Copyright (c) 2013 MicroStrategy, Inc. All rights reserved.
7 //
8 
9 #ifndef __ReportServiceCore__TemplateSelectionItem__
10 #define __ReportServiceCore__TemplateSelectionItem__
11 
12 #include "TemplateSelectionUnit.h"
13 #include <vector>
14 #include "DSSBaseElementProxy.h"
15 #include "DSSBaseElementsProxy.h"
16 #include "DSSRWControl.h"
17 #include "DSSTemplate.h"
18 #include "DSSTemplateUnit.h"
19 
20 
22 public:
26  void createTemplateSelectionUnit(DSSBaseElementProxy* dssElement,DSSRWControl* control, DSSTemplate* mTemplate);
27 
29 
30  void setControl(DSSRWControl* value);
31 
33 
35 
36  std::vector<TemplateSelectionUnit *>* getUnits();
37  bool match(DSSBaseElementProxy* ssElement);
38 
39  bool matchControlId(DSSTemplateUnit* templateUnit);
40 private:
41  DSSRWControl* control;
42  DSSBaseElementsProxy* dssElements;
43  std::vector<TemplateSelectionUnit *> templateSelectionUnits;
44 };
45 
46 #endif /* defined(__ReportServiceCore__TemplateSelectionItem__) */
Definition: ReportServiceCore/Headers/rwdengine/TemplateSelectionItem.h:21
bool matchControlId(DSSTemplateUnit *templateUnit)
Definition: DSSRWControl.h:25
Definition: DSSBaseElementProxy.h:16
DSSRWControl * getControl()
Definition: DSSTemplateUnit.h:19
Definition: DSSTemplate.h:29
bool match(DSSBaseElementProxy *ssElement)
void setDssElements(DSSBaseElementsProxy *value)
DSSBaseElementsProxy * getDssElements()
void createTemplateSelectionUnit(DSSBaseElementProxy *dssElement, DSSRWControl *control, DSSTemplate *mTemplate)
std::vector< TemplateSelectionUnit * > * getUnits()
void createTemplateSelectionItem(DSSTemplate *mTemplate)
void setControl(DSSRWControl *value)
Definition: DSSBaseElementsProxy.h:16