50 #ifndef NclPresentationControlConverter_H
51 #define NclPresentationControlConverter_H
53 #include "ncl/reuse/ReferNode.h"
54 #include "ncl/reuse/ReferredNode.h"
55 using namespace ::br::pucrio::telemidia::ncl::reuse;
57 #include "ncl/descriptor/Descriptor.h"
58 using namespace ::br::pucrio::telemidia::ncl::descriptor;
60 #include "ncl/switches/DescriptorSwitch.h"
61 #include "ncl/switches/SwitchNode.h"
62 #include "ncl/switches/CompositeRule.h"
63 #include "ncl/switches/SimpleRule.h"
64 #include "ncl/switches/Rule.h"
65 #include "ncl/switches/RuleBase.h"
66 using namespace ::br::pucrio::telemidia::ncl::switches;
68 #include "ncl/interfaces/Port.h"
69 using namespace ::br::pucrio::telemidia::ncl::interfaces;
71 #include "ncl/util/Comparator.h"
72 using namespace ::br::pucrio::telemidia::ncl::util;
74 #include "ncl/NclDocument.h"
75 using namespace ::br::pucrio::telemidia::ncl;
82 #include "../framework/ModuleParser.h"
83 #include "../framework/DocumentParser.h"
84 using namespace ::br::pucrio::telemidia::converter::framework;
86 #include "../framework/ncl/NclPresentationControlParser.h"
87 using namespace ::br::pucrio::telemidia::converter::framework::ncl;
89 #include "NclPresentationSpecConverter.h"
90 #include "NclComponentsConverter.h"
92 #include <xercesc/dom/DOM.hpp>
93 XERCES_CPP_NAMESPACE_USE
118 map<string, map<string, NodeEntity*>*>* switchConstituents;
124 vector<Node*> *getSwitchConstituents(SwitchNode *switchNode);
125 void addCompositeRuleToCompositeRule(
126 void *parentObject,
void *childObject);
128 void addCompositeRuleToRuleBase(
void *parentObject,
void *childObject);
129 void addRuleToCompositeRule(
void *parentObject,
void *childObject);
130 void addRuleToRuleBase(
void *parentObject,
void *childObject);
131 void addSwitchPortToSwitch(
void *parentObject,
void *childObject);
132 void *createCompositeRule(
133 DOMElement *parentElement,
void *objGrandParent);
135 void *createSwitch(DOMElement *parentElement,
void *objGrandParent);
136 void *createRuleBase(DOMElement *parentElement,
void *objGrandParent);
137 void *createRule(DOMElement *parentElement,
void *objGrandParent);
138 void *createDescriptorSwitch(
139 DOMElement *parentElement,
void *objGrandParent);
141 void addDescriptorToDescriptorSwitch(
142 void *parentObject,
void *childObject);
144 void addImportBaseToRuleBase(
void *parentObject,
void *childObject);
145 void addBindRuleToDescriptorSwitch(
146 void *parentObject,
void *childObject);
148 void addBindRuleToSwitch(
void *parentObject,
void *childObject);
149 void addDefaultComponentToSwitch(
void *parentObject,
void *childObject);
150 void addDefaultDescriptorToDescriptorSwitch(
151 void *parentObject,
void *childObject);
153 void addContextToSwitch(
void *parentObject,
void *childObject);
154 void addMediaToSwitch(
void *parentObject,
void *childObject);
155 void addSwitchToSwitch(
void *parentObject,
void *childObject);
156 void addUnmappedNodesToSwitch(
void *parentObject);
159 void addNodeToSwitch(SwitchNode *switchNode, NodeEntity *node);
162 void *createBindRule(DOMElement *parentElement,
void *objGrandParent);
163 void *createDefaultComponent(
164 DOMElement *parentElement,
void *objGrandParent);
166 void *createDefaultDescriptor(
167 DOMElement *parentElement,
void *objGrandParent);
169 void *posCompileSwitch(DOMElement *parentElement,
void *parentObject);
172 short convertComparator(
string comparator);
Definition: NclPresentationControlConverter.h:100