1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
---|
2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
---|
3 | <compounddef id="userinfo_8h" kind="file"> |
---|
4 | <compoundname>userinfo.h</compoundname> |
---|
5 | <includes local="no">sstream</includes> |
---|
6 | <includes local="no">iostream</includes> |
---|
7 | <includes local="no">stdio.h</includes> |
---|
8 | <includes local="no">string</includes> |
---|
9 | <includes local="no">typeinfo</includes> |
---|
10 | <includes local="no">map</includes> |
---|
11 | <includes local="no">utility</includes> |
---|
12 | <includes local="no">vector</includes> |
---|
13 | <includes local="no">xercesc/dom/DOM.hpp</includes> |
---|
14 | <includes local="no">xercesc/util/PlatformUtils.hpp</includes> |
---|
15 | <includes local="no">xercesc/util/XMLString.hpp</includes> |
---|
16 | <includes local="no">xercesc/framework/LocalFileFormatTarget.hpp</includes> |
---|
17 | <includes local="no">xercesc/framework/LocalFileInputSource.hpp</includes> |
---|
18 | <includes local="no">xercesc/dom/DOMWriter.hpp</includes> |
---|
19 | <includes local="no">xercesc/parsers/XercesDOMParser.hpp</includes> |
---|
20 | <includedby refid="userinfo_8cpp" local="yes">work/git/mixpp/bdm/userinfo.cpp</includedby> |
---|
21 | <includedby refid="testUI_8cpp" local="yes">work/git/mixpp/tests/testUI.cpp</includedby> |
---|
22 | <incdepgraph> |
---|
23 | <node id="488"> |
---|
24 | <label>xercesc/framework/LocalFileInputSource.hpp</label> |
---|
25 | </node> |
---|
26 | <node id="486"> |
---|
27 | <label>xercesc/util/XMLString.hpp</label> |
---|
28 | </node> |
---|
29 | <node id="490"> |
---|
30 | <label>xercesc/parsers/XercesDOMParser.hpp</label> |
---|
31 | </node> |
---|
32 | <node id="479"> |
---|
33 | <label>string</label> |
---|
34 | </node> |
---|
35 | <node id="481"> |
---|
36 | <label>map</label> |
---|
37 | </node> |
---|
38 | <node id="475"> |
---|
39 | <label>work/git/mixpp/bdm/userinfo.h</label> |
---|
40 | <link refid="userinfo.h"/> |
---|
41 | <childnode refid="476" relation="include"> |
---|
42 | </childnode> |
---|
43 | <childnode refid="477" relation="include"> |
---|
44 | </childnode> |
---|
45 | <childnode refid="478" relation="include"> |
---|
46 | </childnode> |
---|
47 | <childnode refid="479" relation="include"> |
---|
48 | </childnode> |
---|
49 | <childnode refid="480" relation="include"> |
---|
50 | </childnode> |
---|
51 | <childnode refid="481" relation="include"> |
---|
52 | </childnode> |
---|
53 | <childnode refid="482" relation="include"> |
---|
54 | </childnode> |
---|
55 | <childnode refid="483" relation="include"> |
---|
56 | </childnode> |
---|
57 | <childnode refid="484" relation="include"> |
---|
58 | </childnode> |
---|
59 | <childnode refid="485" relation="include"> |
---|
60 | </childnode> |
---|
61 | <childnode refid="486" relation="include"> |
---|
62 | </childnode> |
---|
63 | <childnode refid="487" relation="include"> |
---|
64 | </childnode> |
---|
65 | <childnode refid="488" relation="include"> |
---|
66 | </childnode> |
---|
67 | <childnode refid="489" relation="include"> |
---|
68 | </childnode> |
---|
69 | <childnode refid="490" relation="include"> |
---|
70 | </childnode> |
---|
71 | </node> |
---|
72 | <node id="480"> |
---|
73 | <label>typeinfo</label> |
---|
74 | </node> |
---|
75 | <node id="483"> |
---|
76 | <label>vector</label> |
---|
77 | </node> |
---|
78 | <node id="482"> |
---|
79 | <label>utility</label> |
---|
80 | </node> |
---|
81 | <node id="476"> |
---|
82 | <label>sstream</label> |
---|
83 | </node> |
---|
84 | <node id="477"> |
---|
85 | <label>iostream</label> |
---|
86 | </node> |
---|
87 | <node id="489"> |
---|
88 | <label>xercesc/dom/DOMWriter.hpp</label> |
---|
89 | </node> |
---|
90 | <node id="487"> |
---|
91 | <label>xercesc/framework/LocalFileFormatTarget.hpp</label> |
---|
92 | </node> |
---|
93 | <node id="484"> |
---|
94 | <label>xercesc/dom/DOM.hpp</label> |
---|
95 | </node> |
---|
96 | <node id="485"> |
---|
97 | <label>xercesc/util/PlatformUtils.hpp</label> |
---|
98 | </node> |
---|
99 | <node id="478"> |
---|
100 | <label>stdio.h</label> |
---|
101 | </node> |
---|
102 | </incdepgraph> |
---|
103 | <innerclass refid="classAssertXercesIsAlive" prot="public">AssertXercesIsAlive</innerclass> |
---|
104 | <innerclass refid="classAssertXercesIsAlive_1_1XercesConnector" prot="private">AssertXercesIsAlive::XercesConnector</innerclass> |
---|
105 | <innerclass refid="classBindingFrame" prot="public">BindingFrame</innerclass> |
---|
106 | <innerclass refid="classAttribute" prot="public">Attribute</innerclass> |
---|
107 | <innerclass refid="classUserInfo" prot="public">UserInfo</innerclass> |
---|
108 | <innerclass refid="classUserInfo_1_1StringToUIMap" prot="private">UserInfo::StringToUIMap</innerclass> |
---|
109 | <innerclass refid="classTypedUserInfo" prot="public">TypedUserInfo</innerclass> |
---|
110 | <innerclass refid="classCompoundUserInfo" prot="public">CompoundUserInfo</innerclass> |
---|
111 | <innerclass refid="classCompoundUserInfo_1_1BindedElement" prot="protected">CompoundUserInfo::BindedElement</innerclass> |
---|
112 | <innerclass refid="classValuedUserInfo" prot="public">ValuedUserInfo</innerclass> |
---|
113 | <innerclass refid="classRootElement" prot="public">RootElement</innerclass> |
---|
114 | <innerclass refid="classBoolUI" prot="public">BoolUI</innerclass> |
---|
115 | <innerclass refid="classIntUI" prot="public">IntUI</innerclass> |
---|
116 | <innerclass refid="classDoubleUI" prot="public">DoubleUI</innerclass> |
---|
117 | <innerclass refid="classStringUI" prot="public">StringUI</innerclass> |
---|
118 | <briefdescription> |
---|
119 | </briefdescription> |
---|
120 | <detaileddescription> |
---|
121 | </detaileddescription> |
---|
122 | <programlisting> |
---|
123 | <codeline lineno="1"><highlight class="preprocessor">#ifndef<sp/>UI_H</highlight></codeline> |
---|
124 | <codeline lineno="2"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>UI_H</highlight></codeline> |
---|
125 | <codeline lineno="3"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
126 | <codeline lineno="4"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><sstream></highlight><highlight class="normal"></highlight></codeline> |
---|
127 | <codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><iostream></highlight><highlight class="normal"></highlight></codeline> |
---|
128 | <codeline lineno="6"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><stdio.h></highlight><highlight class="normal"></highlight></codeline> |
---|
129 | <codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><string></highlight><highlight class="normal"></highlight></codeline> |
---|
130 | <codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><typeinfo></highlight><highlight class="normal"></highlight></codeline> |
---|
131 | <codeline lineno="9"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><map></highlight><highlight class="normal"></highlight></codeline> |
---|
132 | <codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><utility></highlight><highlight class="normal"></highlight></codeline> |
---|
133 | <codeline lineno="11"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><vector></highlight><highlight class="normal"></highlight></codeline> |
---|
134 | <codeline lineno="12"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/dom/DOM.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
135 | <codeline lineno="13"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/util/PlatformUtils.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
136 | <codeline lineno="14"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/util/XMLString.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
137 | <codeline lineno="15"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><iostream></highlight><highlight class="normal"></highlight></codeline> |
---|
138 | <codeline lineno="16"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/framework/LocalFileFormatTarget.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
139 | <codeline lineno="17"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/framework/LocalFileInputSource.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
140 | <codeline lineno="18"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/dom/DOMWriter.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
141 | <codeline lineno="19"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><xercesc/parsers/XercesDOMParser.hpp></highlight><highlight class="normal"></highlight></codeline> |
---|
142 | <codeline lineno="20"><highlight class="normal"></highlight></codeline> |
---|
143 | <codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>XERCES_CPP_NAMESPACE_USE</highlight></codeline> |
---|
144 | <codeline lineno="22"><highlight class="preprocessor"></highlight><highlight class="normal">XERCES_CPP_NAMESPACE_USE</highlight></codeline> |
---|
145 | <codeline lineno="23"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline> |
---|
146 | <codeline lineno="24"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> |
---|
147 | <codeline lineno="25"><highlight class="normal"></highlight><highlight class="keyword">using</highlight><highlight class="normal"><sp/>std::string;</highlight></codeline> |
---|
148 | <codeline lineno="26"><highlight class="normal"></highlight><highlight class="keyword">using<sp/>namespace<sp/></highlight><highlight class="normal">std;</highlight></codeline> |
---|
149 | <codeline lineno="27"><highlight class="normal"></highlight></codeline> |
---|
150 | <codeline lineno="40" refid="classAssertXercesIsAlive" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classAssertXercesIsAlive" kindref="compound" tooltip="Class initializing Xerces library.">AssertXercesIsAlive</ref></highlight></codeline> |
---|
151 | <codeline lineno="41"><highlight class="normal">{</highlight></codeline> |
---|
152 | <codeline lineno="42"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
153 | <codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">XercesConnector</highlight></codeline> |
---|
154 | <codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
155 | <codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
156 | <codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XercesConnector()</highlight></codeline> |
---|
157 | <codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
158 | <codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>initialize<sp/>the<sp/>XML<sp/>library</highlight><highlight class="normal"></highlight></codeline> |
---|
159 | <codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLPlatformUtils::Initialize();</highlight></codeline> |
---|
160 | <codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
161 | <codeline lineno="54"><highlight class="normal"></highlight></codeline> |
---|
162 | <codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>~XercesConnector()</highlight></codeline> |
---|
163 | <codeline lineno="56"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
164 | <codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>terminate<sp/>the<sp/>XML<sp/>library</highlight><highlight class="normal"></highlight></codeline> |
---|
165 | <codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLPlatformUtils::Terminate();</highlight></codeline> |
---|
166 | <codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
167 | <codeline lineno="60"><highlight class="normal"></highlight></codeline> |
---|
168 | <codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
169 | <codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>StayAlive()</highlight></codeline> |
---|
170 | <codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
171 | <codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>XercesConnector<sp/>xc;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
172 | <codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline> |
---|
173 | <codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline> |
---|
174 | <codeline lineno="73"><highlight class="normal"></highlight></codeline> |
---|
175 | <codeline lineno="74"><highlight class="normal"></highlight></codeline> |
---|
176 | <codeline lineno="75"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
177 | <codeline lineno="77" refid="classAssertXercesIsAlive_1dd36033ed31fe22022e7c56c7770101e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAssertXercesIsAlive_1dd36033ed31fe22022e7c56c7770101e" kindref="member" tooltip="default constructor">AssertXercesIsAlive</ref>()</highlight></codeline> |
---|
178 | <codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
179 | <codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XercesConnector::StayAlive();</highlight></codeline> |
---|
180 | <codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
181 | <codeline lineno="81"><highlight class="normal">};</highlight></codeline> |
---|
182 | <codeline lineno="82"><highlight class="normal"></highlight></codeline> |
---|
183 | <codeline lineno="86" refid="classBindingFrame" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classBindingFrame" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">BindingFrame</ref></highlight></codeline> |
---|
184 | <codeline lineno="87"><highlight class="normal">{</highlight></codeline> |
---|
185 | <codeline lineno="88"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
186 | <codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAssertXercesIsAlive" kindref="compound" tooltip="Class initializing Xerces library.">AssertXercesIsAlive</ref><sp/>dummy;</highlight></codeline> |
---|
187 | <codeline lineno="93"><highlight class="normal"></highlight></codeline> |
---|
188 | <codeline lineno="94"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline> |
---|
189 | <codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classBindingFrame_165bec8fcde1865e2e211f42ca52a816f" kindref="member" tooltip="default constructor">BindingFrame</ref>();</highlight></codeline> |
---|
190 | <codeline lineno="97"><highlight class="normal"></highlight></codeline> |
---|
191 | <codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/><ref refid="classBindingFrame_12244bd5181c3d1e70f3a6be2b72e9424" kindref="member" tooltip="function which transcodes Xerces&#39; XMLCh-based strings into C++ strings">XMLCh2str</ref>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>XMLCh*<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><sp/>XMLCh_str<sp/>);</highlight></codeline> |
---|
192 | <codeline lineno="100"><highlight class="normal"></highlight></codeline> |
---|
193 | <codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>removeSpaces(</highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>&<ref refid="classstr" kindref="compound" tooltip="Structure of RV (used internally).">str</ref>)<sp/></highlight></codeline> |
---|
194 | <codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
195 | <codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>std::string<sp/>temp;</highlight></codeline> |
---|
196 | <codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>i<sp/>=<sp/>0;<sp/>i<sp/><<sp/>str.length();<sp/>i++)</highlight></codeline> |
---|
197 | <codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(str[i]<sp/>==<sp/></highlight><highlight class="charliteral">'<sp/>'</highlight><highlight class="normal">)<sp/>temp<sp/>+=<sp/></highlight><highlight class="charliteral">'_'</highlight><highlight class="normal">;</highlight></codeline> |
---|
198 | <codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/>temp<sp/>+=<sp/>str[i];</highlight></codeline> |
---|
199 | <codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>temp;</highlight></codeline> |
---|
200 | <codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
201 | <codeline lineno="109"><highlight class="normal"></highlight></codeline> |
---|
202 | <codeline lineno="110"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:<sp/></highlight></codeline> |
---|
203 | <codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBindingFrame_1c6d068c261d4fc3a0a4d1305ade1483d" kindref="member" tooltip="This method parse DOMElement, finds proper DOMNode and fills binded data accordingly...">AssemblyComponentsFromXML</ref>(<sp/>DOMElement<sp/>&element<sp/>)<sp/>=<sp/>0;</highlight></codeline> |
---|
204 | <codeline lineno="113"><highlight class="normal"></highlight></codeline> |
---|
205 | <codeline lineno="115" refid="classBindingFrame_18d4dc5902ee71a473983d6a8fa3c8b7a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classBindingFrame_18d4dc5902ee71a473983d6a8fa3c8b7a" kindref="member" tooltip="A method for releasing memory allocated within the &#39;AssemblyComponentsFromXML()&#39;...">ReleaseMemory</ref>()<sp/>{}</highlight></codeline> |
---|
206 | <codeline lineno="116"><highlight class="normal"></highlight></codeline> |
---|
207 | <codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classBindingFrame_10c207ed6e5a4c975ed5bc9a758a063ca" kindref="member">DisassemblyComponentsToXML</ref>(<sp/>DOMElement<sp/>&element<sp/>)<sp/>=<sp/>0;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
208 | <codeline lineno="120"><highlight class="normal">};</highlight></codeline> |
---|
209 | <codeline lineno="121"><highlight class="normal"></highlight></codeline> |
---|
210 | <codeline lineno="125" refid="classAttribute" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classAttribute" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">Attribute</ref><sp/></highlight></codeline> |
---|
211 | <codeline lineno="126"><highlight class="normal">{<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
212 | <codeline lineno="127"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
213 | <codeline lineno="131"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAssertXercesIsAlive" kindref="compound" tooltip="Class initializing Xerces library.">AssertXercesIsAlive</ref><sp/>dummy;</highlight></codeline> |
---|
214 | <codeline lineno="132"><highlight class="normal"></highlight></codeline> |
---|
215 | <codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>XMLCh*<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>transcodedAttributeName;</highlight></codeline> |
---|
216 | <codeline lineno="135"><highlight class="normal"></highlight></codeline> |
---|
217 | <codeline lineno="136"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
218 | <codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAttribute_14c4c80e6b59e3356324ef02d0e92d813" kindref="member" tooltip="Default constructor fixing a name of the related attribute.">Attribute</ref>(<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>attributeName<sp/>);</highlight></codeline> |
---|
219 | <codeline lineno="139"><highlight class="normal"></highlight></codeline> |
---|
220 | <codeline lineno="140"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>~<ref refid="classAttribute" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">Attribute</ref>();</highlight></codeline> |
---|
221 | <codeline lineno="141"><highlight class="normal"></highlight></codeline> |
---|
222 | <codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal">&<sp/><ref refid="classAttribute_16ebbcaaf9c90a979e645f469e02bb940" kindref="member" tooltip="This method parse DOMElement, finds proper attribute and returns its value.">Get</ref>(<sp/>DOMElement<sp/>&element<sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;</highlight></codeline> |
---|
223 | <codeline lineno="144"><highlight class="normal"></highlight></codeline> |
---|
224 | <codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classAttribute_1e011d84e2e3c40390807a8b8e58e3c35" kindref="member" tooltip="This method adds the passed string as an new attribute into the passed DOMElement...">Set</ref>(<sp/>DOMElement<sp/>&element,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>&<ref refid="classstr" kindref="compound" tooltip="Structure of RV (used internally).">str</ref><sp/>)<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal">;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
225 | <codeline lineno="147"><highlight class="normal"></highlight></codeline> |
---|
226 | <codeline lineno="149" refid="classAttribute_1d6474fd976f505e70e10c497199c6770" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classAttribute" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">Attribute</ref><sp/><ref refid="classAttribute_1d6474fd976f505e70e10c497199c6770" kindref="member" tooltip="Static member, an instance related to an attribute named &#39;help&#39;.">help</ref>;</highlight></codeline> |
---|
227 | <codeline lineno="150"><highlight class="normal"></highlight></codeline> |
---|
228 | <codeline lineno="152" refid="classAttribute_15f6cce980606fa8943857204aacb5478" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classAttribute" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">Attribute</ref><sp/><ref refid="classAttribute_15f6cce980606fa8943857204aacb5478" kindref="member" tooltip="Static member, a constant instance related to an attribute named &#39;type&#39;.">type</ref>;</highlight></codeline> |
---|
229 | <codeline lineno="153"><highlight class="normal"></highlight></codeline> |
---|
230 | <codeline lineno="155" refid="classAttribute_1452441da4ebfda23cdc668943ffe8da7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classAttribute" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">Attribute</ref><sp/><ref refid="classAttribute_1452441da4ebfda23cdc668943ffe8da7" kindref="member" tooltip="Static member, a constant instance related to the attribute named &#39;value&#39;...">value</ref>;</highlight></codeline> |
---|
231 | <codeline lineno="156"><highlight class="normal">};</highlight></codeline> |
---|
232 | <codeline lineno="157"><highlight class="normal"></highlight></codeline> |
---|
233 | <codeline lineno="158"><highlight class="normal"></highlight></codeline> |
---|
234 | <codeline lineno="159"><highlight class="normal"></highlight></codeline> |
---|
235 | <codeline lineno="167" refid="classUserInfo" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classUserInfo" kindref="compound" tooltip="UserInfo is an abstract is for internal purposes only. Use CompoundUserInfo&lt;T&gt;...">UserInfo</ref><sp/>:<sp/></highlight><highlight class="keyword">protected</highlight><highlight class="normal"><sp/><ref refid="classBindingFrame" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">BindingFrame</ref></highlight></codeline> |
---|
236 | <codeline lineno="168"><highlight class="normal">{</highlight></codeline> |
---|
237 | <codeline lineno="169"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
238 | <codeline lineno="171"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/><ref refid="classUserInfo" kindref="compound" tooltip="UserInfo is an abstract is for internal purposes only. Use CompoundUserInfo&lt;T&gt;...">UserInfo</ref>*<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>pUserInfo;</highlight></codeline> |
---|
239 | <codeline lineno="172"><highlight class="normal"></highlight></codeline> |
---|
240 | <codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">StringToUIMap</highlight></codeline> |
---|
241 | <codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
242 | <codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
243 | <codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>map<<sp/>const<sp/>string,<sp/>pUserInfo<sp/>><sp/>MappedString2UI;</highlight></codeline> |
---|
244 | <codeline lineno="182"><highlight class="normal"></highlight></codeline> |
---|
245 | <codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>MappedString2UI&<sp/>privateMap();</highlight></codeline> |
---|
246 | <codeline lineno="185"><highlight class="normal"></highlight></codeline> |
---|
247 | <codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
248 | <codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>Add(<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>key,<sp/>pUserInfo<sp/>pInstance<sp/>);</highlight></codeline> |
---|
249 | <codeline lineno="189"><highlight class="normal"></highlight></codeline> |
---|
250 | <codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>pUserInfo<sp/>Retrieve(<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>key<sp/>);</highlight></codeline> |
---|
251 | <codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline> |
---|
252 | <codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
253 | <codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>AssemblyTypelessInstance()<sp/>=<sp/>0;</highlight></codeline> |
---|
254 | <codeline lineno="196"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
255 | <codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyTypelessInstance(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>pInstance)<sp/>=<sp/>0;</highlight></codeline> |
---|
256 | <codeline lineno="199"><highlight class="normal"></highlight></codeline> |
---|
257 | <codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>userFriendlyTypeName;</highlight></codeline> |
---|
258 | <codeline lineno="202"><highlight class="normal"></highlight></codeline> |
---|
259 | <codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>typeNameByRTTI;</highlight></codeline> |
---|
260 | <codeline lineno="205"><highlight class="normal"></highlight></codeline> |
---|
261 | <codeline lineno="206"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline> |
---|
262 | <codeline lineno="207"><highlight class="normal"></highlight></codeline> |
---|
263 | <codeline lineno="209" refid="classUserInfo_10bccb19c6b819cf9f763e985c573ae8f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classUserInfo_10bccb19c6b819cf9f763e985c573ae8f" kindref="member" tooltip="default constructor">UserInfo</ref>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal">&<sp/>userFriendlyTypeName,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal">&<sp/>typeNameByRTTI<sp/>)</highlight></codeline> |
---|
264 | <codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>userFriendlyTypeName<sp/>(<sp/>removeSpaces(<sp/>userFriendlyTypeName<sp/>)<sp/>),<sp/></highlight></codeline> |
---|
265 | <codeline lineno="211"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>typeNameByRTTI(<sp/>typeNameByRTTI<sp/>)</highlight></codeline> |
---|
266 | <codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
267 | <codeline lineno="213"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>StringToUIMap::Add(<sp/>userFriendlyTypeName,<sp/></highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
268 | <codeline lineno="214"><highlight class="normal"></highlight></codeline> |
---|
269 | <codeline lineno="215"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>userFriendlyTypeName<sp/>!=<sp/>typeNameByRTTI<sp/>)</highlight></codeline> |
---|
270 | <codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>we<sp/>have<sp/>a<sp/>common<sp/>map<sp/>for<sp/>both<sp/>groups<sp/>of<sp/>names,<sp/></highlight><highlight class="normal"></highlight></codeline> |
---|
271 | <codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>therefore,<sp/>it<sp/>is<sp/>no<sp/>use<sp/>to<sp/>add<sp/>the<sp/>same<sp/>pair<sp/>again</highlight><highlight class="normal"></highlight></codeline> |
---|
272 | <codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>StringToUIMap::Add(<sp/>typeNameByRTTI,<sp/></highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
273 | <codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
274 | <codeline lineno="220"><highlight class="normal"></highlight></codeline> |
---|
275 | <codeline lineno="221"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:<sp/></highlight></codeline> |
---|
276 | <codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T></highlight></codeline> |
---|
277 | <codeline lineno="226" refid="classUserInfo_10f090c6525a3e8fb11634a553f467ede" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/>T*<sp/><ref refid="classUserInfo_10f090c6525a3e8fb11634a553f467ede" kindref="member">Assembly</ref>(<sp/>DOMElement<sp/>&element,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>tagName<sp/>)</highlight></codeline> |
---|
278 | <codeline lineno="227"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
279 | <codeline lineno="228"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLCh*<sp/>transcodedTagName<sp/>=<sp/>XMLString::transcode(<sp/>tagName.c_str()<sp/>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
280 | <codeline lineno="229"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLString::upperCase(<sp/>transcodedTagName<sp/>);</highlight></codeline> |
---|
281 | <codeline lineno="230"><highlight class="normal"></highlight></codeline> |
---|
282 | <codeline lineno="231"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMNodeList*<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>nodeList<sp/>=<sp/>element.getElementsByTagName(<sp/>transcodedTagName<sp/>);</highlight></codeline> |
---|
283 | <codeline lineno="232"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLString::release(<sp/>(XMLCh**)&transcodedTagName<sp/>);</highlight></codeline> |
---|
284 | <codeline lineno="233"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>!nodeList<sp/>||<sp/>nodeList->getLength()<sp/>==<sp/>0<sp/>)</highlight></codeline> |
---|
285 | <codeline lineno="234"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
286 | <codeline lineno="235"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cerr<sp/><<<sp/></highlight><highlight class="stringliteral">"Warning:<sp/>there<sp/>is<sp/>not<sp/>any<sp/>tag<sp/>named<sp/>"</highlight><highlight class="stringliteral">""</highlight><highlight class="normal"><sp/><<<sp/>tagName<sp/><<<sp/></highlight><highlight class="stringliteral">""</highlight><highlight class="stringliteral">"<sp/>in<sp/>the<sp/>passed<sp/>DOM<sp/>element<sp/>of<sp/>a<sp/>XML<sp/>docmument!"</highlight><highlight class="normal">;</highlight></codeline> |
---|
287 | <codeline lineno="236"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline> |
---|
288 | <codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
289 | <codeline lineno="238"><highlight class="normal"></highlight></codeline> |
---|
290 | <codeline lineno="239"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>nodeList->getLength()<sp/>><sp/>1<sp/>)</highlight></codeline> |
---|
291 | <codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
292 | <codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cerr<sp/><<<sp/></highlight><highlight class="stringliteral">"Warning:<sp/>there<sp/>is<sp/>to<sp/>many<sp/>elements<sp/>named<sp/>"</highlight><highlight class="stringliteral">""</highlight><highlight class="normal"><sp/><<<sp/>tagName<sp/><<<sp/></highlight><highlight class="stringliteral">""</highlight><highlight class="stringliteral">"<sp/>in<sp/>the<sp/>passed<sp/>DOM<sp/>element<sp/>of<sp/>a<sp/>XML<sp/>docmument.<sp/>But<sp/>the<sp/>tag<sp/>name<sp/>has<sp/>to<sp/>be<sp/>unique!"</highlight><highlight class="normal">;</highlight></codeline> |
---|
293 | <codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline> |
---|
294 | <codeline lineno="243"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
295 | <codeline lineno="244"><highlight class="normal"></highlight></codeline> |
---|
296 | <codeline lineno="245"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>this<sp/>time<sp/>we<sp/>hold<sp/>an<sp/>element<sp/>with<sp/>the<sp/>same<sp/>name<sp/>as<sp/>the<sp/>tagName<sp/>is</highlight><highlight class="normal"></highlight></codeline> |
---|
297 | <codeline lineno="246"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMElement*<sp/>pTheOnlyElement<sp/>=<sp/>(DOMElement*)<sp/>nodeList->item(0);</highlight></codeline> |
---|
298 | <codeline lineno="247"><highlight class="normal"></highlight></codeline> |
---|
299 | <codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>we<sp/>get<sp/>a<sp/>velue<sp/>stored<sp/>in<sp/>the<sp/>"type"<sp/>attribute<sp/></highlight><highlight class="normal"></highlight></codeline> |
---|
300 | <codeline lineno="249"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>userFriendlyTypeName<sp/>=<sp/><ref refid="classAttribute_15f6cce980606fa8943857204aacb5478" kindref="member" tooltip="Static member, a constant instance related to an attribute named &#39;type&#39;.">Attribute::type</ref>.<ref refid="classAttribute_16ebbcaaf9c90a979e645f469e02bb940" kindref="member" tooltip="This method parse DOMElement, finds proper attribute and returns its value.">Get</ref>(<sp/>*pTheOnlyElement<sp/>);</highlight></codeline> |
---|
301 | <codeline lineno="250"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
302 | <codeline lineno="251"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>and<sp/>finally<sp/>we<sp/>find<sp/>a<sp/>UserInfo<sp/>related<sp/>to<sp/>this<sp/>type</highlight><highlight class="normal"></highlight></codeline> |
---|
303 | <codeline lineno="252"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pUserInfo<sp/>pRelatedUI<sp/>=<sp/>StringToUIMap::Retrieve(<sp/>userFriendlyTypeName<sp/>);</highlight></codeline> |
---|
304 | <codeline lineno="253"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>!pRelatedUI<sp/>)</highlight></codeline> |
---|
305 | <codeline lineno="254"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
306 | <codeline lineno="255"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cerr<sp/><<<sp/></highlight><highlight class="stringliteral">"Warning:<sp/>there<sp/>is<sp/>not<sp/>any<sp/>UserInfo<sp/>related<sp/>to<sp/>type<sp/>named<sp/>"</highlight><highlight class="stringliteral">""</highlight><highlight class="normal"><sp/><<<sp/>userFriendlyTypeName<sp/><<<sp/></highlight><highlight class="stringliteral">""</highlight><highlight class="stringliteral">",<sp/>instance<sp/>assembling<sp/>terminated!"</highlight><highlight class="normal">;</highlight></codeline> |
---|
307 | <codeline lineno="256"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline> |
---|
308 | <codeline lineno="257"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
309 | <codeline lineno="258"><highlight class="normal"></highlight></codeline> |
---|
310 | <codeline lineno="259"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>prepare<sp/>all<sp/>components<sp/>necessary<sp/>for<sp/>an<sp/>instance<sp/>assembling</highlight><highlight class="normal"></highlight></codeline> |
---|
311 | <codeline lineno="260"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pRelatedUI->AssemblyComponentsFromXML(<sp/>*pTheOnlyElement<sp/>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
312 | <codeline lineno="261"><highlight class="normal"></highlight></codeline> |
---|
313 | <codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>instance<sp/>assembling<sp/></highlight><highlight class="normal"></highlight></codeline> |
---|
314 | <codeline lineno="263"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>pTypelessInstance<sp/>=<sp/>pRelatedUI->AssemblyTypelessInstance();</highlight></codeline> |
---|
315 | <codeline lineno="264"><highlight class="normal"></highlight></codeline> |
---|
316 | <codeline lineno="265"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>cleaning<sp/>up</highlight><highlight class="normal"></highlight></codeline> |
---|
317 | <codeline lineno="266"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pRelatedUI->ReleaseMemory();</highlight></codeline> |
---|
318 | <codeline lineno="267"><highlight class="normal"></highlight></codeline> |
---|
319 | <codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>pTypelessInstance<sp/>==<sp/>NULL<sp/>)</highlight></codeline> |
---|
320 | <codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
321 | <codeline lineno="270"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cerr<sp/><<<sp/></highlight><highlight class="stringliteral">"Warning:<sp/>there<sp/>was<sp/>some<sp/>error<sp/>when<sp/>parsing<sp/>a<sp/>XML<sp/>document,<sp/>instance<sp/>assembling<sp/>terminated!"</highlight><highlight class="normal">;</highlight></codeline> |
---|
322 | <codeline lineno="271"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline> |
---|
323 | <codeline lineno="272"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
324 | <codeline lineno="273"><highlight class="normal"></highlight></codeline> |
---|
325 | <codeline lineno="274"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>T*<sp/>pInstance<sp/>=<sp/>NULL;</highlight></codeline> |
---|
326 | <codeline lineno="275"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">try</highlight><highlight class="normal"></highlight></codeline> |
---|
327 | <codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
328 | <codeline lineno="277"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>a<sp/>"do<sp/>it<sp/>yourself"<sp/>type<sp/>check:)</highlight><highlight class="normal"></highlight></codeline> |
---|
329 | <codeline lineno="278"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pInstance<sp/>=<sp/>(T*)<sp/>pTypelessInstance;</highlight></codeline> |
---|
330 | <codeline lineno="279"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>resultingTypeNameByRTTI<sp/>=<sp/></highlight><highlight class="keyword">typeid</highlight><highlight class="normal">(<sp/>*pInstance<sp/>).name();</highlight></codeline> |
---|
331 | <codeline lineno="280"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>resultingTypeNameByRTTI<sp/>!=<sp/>pRelatedUI->typeNameByRTTI<sp/>)</highlight></codeline> |
---|
332 | <codeline lineno="281"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pInstance<sp/>=<sp/>NULL;</highlight></codeline> |
---|
333 | <codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
334 | <codeline lineno="283"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">catch</highlight><highlight class="normal">(...)</highlight></codeline> |
---|
335 | <codeline lineno="284"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
336 | <codeline lineno="285"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pInstance<sp/>=<sp/>NULL;</highlight></codeline> |
---|
337 | <codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
338 | <codeline lineno="287"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>pInstance<sp/>==<sp/>NULL<sp/>)</highlight></codeline> |
---|
339 | <codeline lineno="288"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>cerr<sp/><<<sp/></highlight><highlight class="stringliteral">"Warning:<sp/>UserInfo<sp/>related<sp/>to<sp/>type<sp/>"</highlight><highlight class="stringliteral">""</highlight><highlight class="normal"><sp/><<<sp/>userFriendlyTypeName<sp/><<<sp/></highlight><highlight class="stringliteral">""</highlight><highlight class="stringliteral">"<sp/>have<sp/>just<sp/>returned<sp/>instance<sp/>of<sp/>a<sp/>different<sp/>type!<sp/>Instance<sp/>assembling<sp/>terminated!"</highlight><highlight class="normal">;</highlight></codeline> |
---|
340 | <codeline lineno="289"><highlight class="normal"></highlight></codeline> |
---|
341 | <codeline lineno="290"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>pInstance;</highlight></codeline> |
---|
342 | <codeline lineno="291"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
343 | <codeline lineno="292"><highlight class="normal"></highlight></codeline> |
---|
344 | <codeline lineno="296"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T></highlight></codeline> |
---|
345 | <codeline lineno="297" refid="classUserInfo_11d402661b82feccb5265a70f65c242e1" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classUserInfo_11d402661b82feccb5265a70f65c242e1" kindref="member">Disassembly</ref>(<sp/>T&<sp/>instance,<sp/>DOMElement<sp/>&element,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>tagName,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>help)</highlight></codeline> |
---|
346 | <codeline lineno="298"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
347 | <codeline lineno="299"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pUserInfo<sp/>pRelatedUI<sp/>=<sp/>StringToUIMap::Retrieve(<sp/></highlight><highlight class="keyword">typeid</highlight><highlight class="normal">(instance).name()<sp/>);</highlight></codeline> |
---|
348 | <codeline lineno="300"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>!pRelatedUI<sp/>)</highlight></codeline> |
---|
349 | <codeline lineno="301"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline> |
---|
350 | <codeline lineno="302"><highlight class="normal"></highlight></codeline> |
---|
351 | <codeline lineno="303"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>add<sp/>a<sp/>new<sp/>element<sp/>named<sp/>according<sp/>the<sp/>passed<sp/>tagName</highlight><highlight class="normal"></highlight></codeline> |
---|
352 | <codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLCh*<sp/>transcodedTagName<sp/>=<sp/>XMLString::transcode(<sp/>tagName.c_str()<sp/>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
353 | <codeline lineno="305"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLString::upperCase(<sp/>transcodedTagName<sp/>);</highlight></codeline> |
---|
354 | <codeline lineno="306"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMDocument*<sp/>pDoc<sp/>=<sp/>element.getOwnerDocument();</highlight></codeline> |
---|
355 | <codeline lineno="307"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMElement*<sp/>pCreatedElement<sp/>=<sp/>pDoc->createElement(<sp/>transcodedTagName<sp/>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
356 | <codeline lineno="308"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>element.appendChild(<sp/>pCreatedElement<sp/>);</highlight></codeline> |
---|
357 | <codeline lineno="309"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>XMLString::release(<sp/>(XMLCh**)&transcodedTagName<sp/>);</highlight></codeline> |
---|
358 | <codeline lineno="310"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
359 | <codeline lineno="311"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>add<sp/>attributes<sp/>"type"<sp/>and<sp/>"help"</highlight><highlight class="normal"></highlight></codeline> |
---|
360 | <codeline lineno="312"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAttribute_15f6cce980606fa8943857204aacb5478" kindref="member" tooltip="Static member, a constant instance related to an attribute named &#39;type&#39;.">Attribute::type</ref>.<ref refid="classAttribute_1e011d84e2e3c40390807a8b8e58e3c35" kindref="member" tooltip="This method adds the passed string as an new attribute into the passed DOMElement...">Set</ref>(<sp/>*pCreatedElement,<sp/>pRelatedUI->userFriendlyTypeName<sp/>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
361 | <codeline lineno="313"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAttribute_1d6474fd976f505e70e10c497199c6770" kindref="member" tooltip="Static member, an instance related to an attribute named &#39;help&#39;.">Attribute::help</ref>.<ref refid="classAttribute_1e011d84e2e3c40390807a8b8e58e3c35" kindref="member" tooltip="This method adds the passed string as an new attribute into the passed DOMElement...">Set</ref>(<sp/>*pCreatedElement,<sp/>help<sp/>);</highlight></codeline> |
---|
362 | <codeline lineno="314"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
363 | <codeline lineno="315"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>disassembly<sp/>instance<sp/>itself<sp/>into<sp/>its<sp/>components</highlight><highlight class="normal"></highlight></codeline> |
---|
364 | <codeline lineno="316"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>result<sp/>=<sp/><sp/>pRelatedUI->DisassemblyTypelessInstance(<sp/>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*)<sp/>&instance<sp/>);</highlight></codeline> |
---|
365 | <codeline lineno="317"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>result<sp/>)</highlight></codeline> |
---|
366 | <codeline lineno="318"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>disassembly<sp/>all<sp/>components<sp/>of<sp/>an<sp/>instance<sp/><sp/><sp/><sp/></highlight><highlight class="normal"></highlight></codeline> |
---|
367 | <codeline lineno="319"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>result<sp/>=<sp/>pRelatedUI->DisassemblyComponentsToXML(<sp/>*pCreatedElement<sp/>);<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
368 | <codeline lineno="320"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>result;</highlight></codeline> |
---|
369 | <codeline lineno="321"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
370 | <codeline lineno="322"><highlight class="normal"></highlight></codeline> |
---|
371 | <codeline lineno="326"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">class</highlight><highlight class="normal"><sp/>T></highlight></codeline> |
---|
372 | <codeline lineno="327" refid="classUserInfo_1917b2257abc31b94c89ef3cd270e4a42" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classUserInfo_11d402661b82feccb5265a70f65c242e1" kindref="member">Disassembly</ref>(<sp/>T<sp/>&instance,<sp/>DOMElement<sp/>&element,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>tagName<sp/>)</highlight></codeline> |
---|
373 | <codeline lineno="328"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
374 | <codeline lineno="329"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classUserInfo_11d402661b82feccb5265a70f65c242e1" kindref="member">Disassembly</ref>(<sp/>instance,<sp/>element,<sp/>tagName,<sp/></highlight><highlight class="stringliteral">""</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
375 | <codeline lineno="330"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
376 | <codeline lineno="331"><highlight class="normal">};</highlight></codeline> |
---|
377 | <codeline lineno="332"><highlight class="normal"></highlight></codeline> |
---|
378 | <codeline lineno="344" refid="classTypedUserInfo" refkind="compound"><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>T><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classUserInfo" kindref="compound" tooltip="UserInfo is an abstract is for internal purposes only. Use CompoundUserInfo&lt;T&gt;...">UserInfo</ref></highlight></codeline> |
---|
379 | <codeline lineno="345"><highlight class="normal">{</highlight></codeline> |
---|
380 | <codeline lineno="346"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
381 | <codeline lineno="347"><highlight class="normal"></highlight></codeline> |
---|
382 | <codeline lineno="348"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyTypelessInstance(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>pInstance)</highlight></codeline> |
---|
383 | <codeline lineno="349"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
384 | <codeline lineno="350"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">try</highlight><highlight class="normal"></highlight></codeline> |
---|
385 | <codeline lineno="351"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
386 | <codeline lineno="352"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>DisassemblyInstance(<sp/>*(T*)<sp/>pInstance<sp/>);</highlight></codeline> |
---|
387 | <codeline lineno="353"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
388 | <codeline lineno="354"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">catch</highlight><highlight class="normal"><sp/>(...)</highlight></codeline> |
---|
389 | <codeline lineno="355"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
390 | <codeline lineno="356"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline> |
---|
391 | <codeline lineno="357"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
392 | <codeline lineno="358"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
393 | <codeline lineno="359"><highlight class="normal"></highlight></codeline> |
---|
394 | <codeline lineno="360"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*<sp/>AssemblyTypelessInstance()</highlight></codeline> |
---|
395 | <codeline lineno="361"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
396 | <codeline lineno="362"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">*)<sp/>AssemblyInstance(<sp/>);</highlight></codeline> |
---|
397 | <codeline lineno="363"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
398 | <codeline lineno="364"><highlight class="normal"></highlight></codeline> |
---|
399 | <codeline lineno="366"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/>T*<sp/>AssemblyInstance()<sp/>=<sp/>0;</highlight></codeline> |
---|
400 | <codeline lineno="367"><highlight class="normal"></highlight></codeline> |
---|
401 | <codeline lineno="369"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyInstance(T&<sp/><ref refid="classTypedUserInfo_1c7ad10a9ff002383518155c965ade85c" kindref="member">instance</ref>)<sp/>=<sp/>0;</highlight></codeline> |
---|
402 | <codeline lineno="370"><highlight class="normal"></highlight></codeline> |
---|
403 | <codeline lineno="371"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline> |
---|
404 | <codeline lineno="372"><highlight class="normal"></highlight></codeline> |
---|
405 | <codeline lineno="374"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo<T></ref>(<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>&userFriendlyTypeName)<sp/></highlight></codeline> |
---|
406 | <codeline lineno="375"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classUserInfo_10bccb19c6b819cf9f763e985c573ae8f" kindref="member" tooltip="default constructor">UserInfo</ref>(<sp/>userFriendlyTypeName,<sp/></highlight><highlight class="keyword">typeid</highlight><highlight class="normal">(T).name()<sp/>)<sp/></highlight></codeline> |
---|
407 | <codeline lineno="376"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
408 | <codeline lineno="377"><highlight class="normal"></highlight></codeline> |
---|
409 | <codeline lineno="378" refid="classTypedUserInfo_1b1bb67b76a677f0cf33e923fd9147e9a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline> |
---|
410 | <codeline lineno="379"><highlight class="normal"></highlight></codeline> |
---|
411 | <codeline lineno="381"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>~<ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo<T></ref>()</highlight></codeline> |
---|
412 | <codeline lineno="382"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
413 | <codeline lineno="383"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
414 | <codeline lineno="384"><highlight class="normal"></highlight></codeline> |
---|
415 | <codeline lineno="387" refid="classTypedUserInfo_1c7ad10a9ff002383518155c965ade85c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">static</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo<T></ref>&<sp/>instance;</highlight></codeline> |
---|
416 | <codeline lineno="388"><highlight class="normal">};</highlight></codeline> |
---|
417 | <codeline lineno="389"><highlight class="normal"></highlight></codeline> |
---|
418 | <codeline lineno="390"><highlight class="normal"></highlight></codeline> |
---|
419 | <codeline lineno="420" refid="classCompoundUserInfo" refkind="compound"><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>T><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classCompoundUserInfo" kindref="compound" tooltip="The main userinfo template class. You should derive this class whenever you need...">CompoundUserInfo</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo</ref><T></highlight></codeline> |
---|
420 | <codeline lineno="421"><highlight class="normal">{</highlight></codeline> |
---|
421 | <codeline lineno="422"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
422 | <codeline lineno="424"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>vector<BindingFrame*><sp/>bindedElements;</highlight></codeline> |
---|
423 | <codeline lineno="425"><highlight class="normal"></highlight></codeline> |
---|
424 | <codeline lineno="426"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline> |
---|
425 | <codeline lineno="427"><highlight class="normal"></highlight></codeline> |
---|
426 | <codeline lineno="432" refid="classCompoundUserInfo_1_1BindedElement" refkind="compound"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>U><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classCompoundUserInfo_1_1BindedElement" kindref="compound" tooltip="Templated class binding inner element with its XML tag and automating data transfers...">BindedElement</ref>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classBindingFrame" kindref="compound" tooltip="Abstract class declaring general properties of a frame for data binding.">BindingFrame</ref></highlight></codeline> |
---|
427 | <codeline lineno="433"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
428 | <codeline lineno="434"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
429 | <codeline lineno="435"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>name;</highlight></codeline> |
---|
430 | <codeline lineno="436"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>help;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
431 | <codeline lineno="437"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>release;</highlight></codeline> |
---|
432 | <codeline lineno="438"><highlight class="normal"></highlight></codeline> |
---|
433 | <codeline lineno="439"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>U*<sp/>pValue;</highlight></codeline> |
---|
434 | <codeline lineno="440"><highlight class="normal"></highlight></codeline> |
---|
435 | <codeline lineno="441"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>U<sp/>defaultValue;</highlight></codeline> |
---|
436 | <codeline lineno="442"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
437 | <codeline lineno="443"><highlight class="normal"><sp/></highlight></codeline> |
---|
438 | <codeline lineno="444"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
439 | <codeline lineno="445"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>U<sp/>value;</highlight></codeline> |
---|
440 | <codeline lineno="446"><highlight class="normal"></highlight></codeline> |
---|
441 | <codeline lineno="447"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classCompoundUserInfo_1_1BindedElement" kindref="compound" tooltip="Templated class binding inner element with its XML tag and automating data transfers...">BindedElement<U></ref>(<sp/><ref refid="classCompoundUserInfo" kindref="compound" tooltip="The main userinfo template class. You should derive this class whenever you need...">CompoundUserInfo<T></ref><sp/>*parent,<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>name,<sp/>U<sp/>defaultValue,<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>help<sp/>)<sp/></highlight></codeline> |
---|
442 | <codeline lineno="448"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>name(<sp/>removeSpaces(<sp/>name<sp/>)),<sp/>help(help),<sp/>defaultValue(<sp/>defaultValue<sp/>)</highlight></codeline> |
---|
443 | <codeline lineno="449"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
444 | <codeline lineno="450"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>parent->bindedElements.push_back(<sp/></highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
445 | <codeline lineno="451"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pValue<sp/>=<sp/>NULL;</highlight></codeline> |
---|
446 | <codeline lineno="452"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>value<sp/>=<sp/>defaultValue;</highlight></codeline> |
---|
447 | <codeline lineno="453"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
448 | <codeline lineno="454"><highlight class="normal"></highlight></codeline> |
---|
449 | <codeline lineno="455"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classCompoundUserInfo_1_1BindedElement" kindref="compound" tooltip="Templated class binding inner element with its XML tag and automating data transfers...">BindedElement<U></ref>(<sp/><ref refid="classCompoundUserInfo" kindref="compound" tooltip="The main userinfo template class. You should derive this class whenever you need...">CompoundUserInfo<T></ref><sp/>*parent,<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>name,<sp/>U<sp/>defaultValue<sp/>)<sp/></highlight></codeline> |
---|
450 | <codeline lineno="456"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/>name(<sp/>removeSpaces(<sp/>name<sp/>)),<sp/>help(</highlight><highlight class="stringliteral">""</highlight><highlight class="normal">),<sp/>defaultValue(<sp/>defaultValue<sp/>),<sp/>value(<sp/>defaultValue)</highlight></codeline> |
---|
451 | <codeline lineno="457"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
452 | <codeline lineno="458"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>parent->bindedElements.push_back(<sp/></highlight><highlight class="keyword">this</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
453 | <codeline lineno="459"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pValue<sp/>=<sp/>NULL;</highlight></codeline> |
---|
454 | <codeline lineno="460"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>value<sp/>=<sp/>defaultValue;</highlight></codeline> |
---|
455 | <codeline lineno="461"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
456 | <codeline lineno="462"><highlight class="normal"></highlight></codeline> |
---|
457 | <codeline lineno="463"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>~<ref refid="classCompoundUserInfo_1_1BindedElement" kindref="compound" tooltip="Templated class binding inner element with its XML tag and automating data transfers...">BindedElement<U></ref>()</highlight></codeline> |
---|
458 | <codeline lineno="464"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
459 | <codeline lineno="465"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
460 | <codeline lineno="466"><highlight class="normal"></highlight></codeline> |
---|
461 | <codeline lineno="467" refid="classCompoundUserInfo_1_1BindedElement_1159f56d7101091117dcdad68754bc195" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classCompoundUserInfo_1_1BindedElement_1159f56d7101091117dcdad68754bc195" kindref="member" tooltip="This method parse DOMElement, finds proper DOMNode and fills binded data accordingly...">AssemblyComponentsFromXML</ref>(<sp/>DOMElement<sp/>&element<sp/>)</highlight></codeline> |
---|
462 | <codeline lineno="468"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
463 | <codeline lineno="469"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>pValue<sp/>=<sp/>UserInfo::Assembly<U>(<sp/>element,<sp/>name<sp/>);</highlight></codeline> |
---|
464 | <codeline lineno="470"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>pValue<sp/>)<sp/>value<sp/>=<sp/>*pValue;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
465 | <codeline lineno="471"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
466 | <codeline lineno="472"><highlight class="normal"></highlight></codeline> |
---|
467 | <codeline lineno="473" refid="classCompoundUserInfo_1_1BindedElement_1e5a47de35cae44540b02d4c12fde54e4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classCompoundUserInfo_1_1BindedElement_1e5a47de35cae44540b02d4c12fde54e4" kindref="member" tooltip="A method for releasing memory allocated within the &#39;AssemblyComponentsFromXML()&#39;...">ReleaseMemory</ref>()</highlight></codeline> |
---|
468 | <codeline lineno="474"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
469 | <codeline lineno="475"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>pValue<sp/>!=<sp/>NULL<sp/>)</highlight></codeline> |
---|
470 | <codeline lineno="476"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">delete</highlight><highlight class="normal"><sp/>pValue;</highlight></codeline> |
---|
471 | <codeline lineno="477"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
472 | <codeline lineno="478"><highlight class="normal"></highlight></codeline> |
---|
473 | <codeline lineno="479" refid="classCompoundUserInfo_1_1BindedElement_16ef55cedb98f5d2dbcf92730f2fed939" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classCompoundUserInfo_1_1BindedElement_16ef55cedb98f5d2dbcf92730f2fed939" kindref="member">DisassemblyComponentsToXML</ref>(<sp/>DOMElement<sp/>&element<sp/>)</highlight></codeline> |
---|
474 | <codeline lineno="480"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
475 | <codeline lineno="481"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/><ref refid="classUserInfo_11d402661b82feccb5265a70f65c242e1" kindref="member">UserInfo::Disassembly</ref>(<sp/>value,<sp/>element,<sp/>name,<sp/>help<sp/>);</highlight></codeline> |
---|
476 | <codeline lineno="482"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
477 | <codeline lineno="483"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>};</highlight></codeline> |
---|
478 | <codeline lineno="484"><highlight class="normal"></highlight></codeline> |
---|
479 | <codeline lineno="485"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
480 | <codeline lineno="486"><highlight class="normal"></highlight></codeline> |
---|
481 | <codeline lineno="487"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>AssemblyComponentsFromXML(<sp/>DOMElement<sp/>&element<sp/>)</highlight></codeline> |
---|
482 | <codeline lineno="488"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
483 | <codeline lineno="489"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal">(<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ind<sp/>=<sp/>0;<sp/>ind<sp/><<sp/>bindedElements.size();<sp/>ind++<sp/>)</highlight></codeline> |
---|
484 | <codeline lineno="490"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>bindedElements[ind]->AssemblyComponentsFromXML(<sp/>element<sp/>);</highlight></codeline> |
---|
485 | <codeline lineno="491"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
486 | <codeline lineno="492"><highlight class="normal"></highlight></codeline> |
---|
487 | <codeline lineno="493"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>ReleaseMemory()</highlight></codeline> |
---|
488 | <codeline lineno="494"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
489 | <codeline lineno="495"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal">(<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ind<sp/>=<sp/>0;<sp/>ind<sp/><<sp/>bindedElements.size();<sp/>ind++<sp/>)</highlight></codeline> |
---|
490 | <codeline lineno="496"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>bindedElements[ind]->ReleaseMemory();</highlight></codeline> |
---|
491 | <codeline lineno="497"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
492 | <codeline lineno="498"><highlight class="normal"></highlight></codeline> |
---|
493 | <codeline lineno="499"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyComponentsToXML(<sp/>DOMElement<sp/>&element<sp/>)</highlight></codeline> |
---|
494 | <codeline lineno="500"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
495 | <codeline lineno="501"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal">(<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>ind<sp/>=<sp/>0;<sp/>ind<sp/><<sp/>bindedElements.size();<sp/>ind++<sp/>)</highlight></codeline> |
---|
496 | <codeline lineno="502"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>!bindedElements[ind]->DisassemblyComponentsToXML(<sp/>element<sp/>)<sp/>)</highlight></codeline> |
---|
497 | <codeline lineno="503"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline> |
---|
498 | <codeline lineno="504"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline> |
---|
499 | <codeline lineno="505"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
500 | <codeline lineno="506"><highlight class="normal"></highlight></codeline> |
---|
501 | <codeline lineno="507"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline> |
---|
502 | <codeline lineno="508"><highlight class="normal"></highlight></codeline> |
---|
503 | <codeline lineno="509"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classCompoundUserInfo" kindref="compound" tooltip="The main userinfo template class. You should derive this class whenever you need...">CompoundUserInfo<T></ref>(<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>userFriendlyTypeName<sp/>)</highlight></codeline> |
---|
504 | <codeline lineno="510"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo<T></ref>(<sp/>userFriendlyTypeName<sp/>)</highlight></codeline> |
---|
505 | <codeline lineno="511"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
506 | <codeline lineno="512"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
507 | <codeline lineno="513"><highlight class="normal"></highlight></codeline> |
---|
508 | <codeline lineno="514"><highlight class="normal">};</highlight></codeline> |
---|
509 | <codeline lineno="515"><highlight class="normal"></highlight></codeline> |
---|
510 | <codeline lineno="516"><highlight class="normal"></highlight></codeline> |
---|
511 | <codeline lineno="527" refid="classValuedUserInfo" refkind="compound"><highlight class="keyword">template</highlight><highlight class="normal"><</highlight><highlight class="keyword">typename</highlight><highlight class="normal"><sp/>T><sp/></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo</ref><T></highlight></codeline> |
---|
512 | <codeline lineno="528"><highlight class="normal">{</highlight></codeline> |
---|
513 | <codeline lineno="529"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
514 | <codeline lineno="530"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>AssemblyComponentsFromXML(<sp/>DOMElement<sp/>&element<sp/>)</highlight></codeline> |
---|
515 | <codeline lineno="531"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
516 | <codeline lineno="532"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>=<sp/><ref refid="classAttribute_1452441da4ebfda23cdc668943ffe8da7" kindref="member" tooltip="Static member, a constant instance related to the attribute named &#39;value&#39;...">Attribute::value</ref>.<ref refid="classAttribute_16ebbcaaf9c90a979e645f469e02bb940" kindref="member" tooltip="This method parse DOMElement, finds proper attribute and returns its value.">Get</ref>(<sp/>element<sp/>);</highlight></codeline> |
---|
517 | <codeline lineno="533"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
518 | <codeline lineno="534"><highlight class="normal"></highlight></codeline> |
---|
519 | <codeline lineno="535"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyComponentsToXML(<sp/>DOMElement<sp/>&element<sp/>)</highlight></codeline> |
---|
520 | <codeline lineno="536"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
521 | <codeline lineno="537"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classAttribute_1452441da4ebfda23cdc668943ffe8da7" kindref="member" tooltip="Static member, a constant instance related to the attribute named &#39;value&#39;...">Attribute::value</ref>.<ref refid="classAttribute_1e011d84e2e3c40390807a8b8e58e3c35" kindref="member" tooltip="This method adds the passed string as an new attribute into the passed DOMElement...">Set</ref>(<sp/>element,<sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>);</highlight></codeline> |
---|
522 | <codeline lineno="538"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline> |
---|
523 | <codeline lineno="539"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
524 | <codeline lineno="540"><highlight class="normal"></highlight></codeline> |
---|
525 | <codeline lineno="541"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline> |
---|
526 | <codeline lineno="542"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo<T></ref>(<sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>userFriendlyTypeName<sp/>)</highlight></codeline> |
---|
527 | <codeline lineno="543"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classTypedUserInfo" kindref="compound" tooltip="TypeUserInfo is still an abstract class, but contrary to the UserInfo class it is...">TypedUserInfo<T></ref>(<sp/>userFriendlyTypeName<sp/>)</highlight></codeline> |
---|
528 | <codeline lineno="544"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
529 | <codeline lineno="545"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
530 | <codeline lineno="546"><highlight class="normal"></highlight></codeline> |
---|
531 | <codeline lineno="547"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>~<ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo<T></ref>()</highlight></codeline> |
---|
532 | <codeline lineno="548"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
533 | <codeline lineno="549"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
534 | <codeline lineno="550"><highlight class="normal"></highlight></codeline> |
---|
535 | <codeline lineno="552" refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref>;</highlight></codeline> |
---|
536 | <codeline lineno="553"><highlight class="normal">};</highlight></codeline> |
---|
537 | <codeline lineno="554"><highlight class="normal"></highlight></codeline> |
---|
538 | <codeline lineno="576" refid="classRootElement" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classRootElement" kindref="compound" tooltip="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">RootElement</ref><sp/></highlight></codeline> |
---|
539 | <codeline lineno="577"><highlight class="normal">{</highlight></codeline> |
---|
540 | <codeline lineno="578"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
541 | <codeline lineno="582"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/><ref refid="classAssertXercesIsAlive" kindref="compound" tooltip="Class initializing Xerces library.">AssertXercesIsAlive</ref><sp/>dummy;</highlight></codeline> |
---|
542 | <codeline lineno="583"><highlight class="normal"></highlight></codeline> |
---|
543 | <codeline lineno="585"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMDocument*<sp/>pDoc;</highlight></codeline> |
---|
544 | <codeline lineno="586"><highlight class="normal"></highlight></codeline> |
---|
545 | <codeline lineno="587"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>XMLCh*<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/>transcodedFileName;</highlight></codeline> |
---|
546 | <codeline lineno="588"><highlight class="normal"></highlight></codeline> |
---|
547 | <codeline lineno="590"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMImplementation<sp/>*pImplementation;</highlight></codeline> |
---|
548 | <codeline lineno="591"><highlight class="normal"></highlight></codeline> |
---|
549 | <codeline lineno="593"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DOMWriter<sp/>*pSerializer;</highlight></codeline> |
---|
550 | <codeline lineno="594"><highlight class="normal"></highlight></codeline> |
---|
551 | <codeline lineno="595"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>Clean();</highlight></codeline> |
---|
552 | <codeline lineno="596"><highlight class="normal"></highlight></codeline> |
---|
553 | <codeline lineno="597"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
554 | <codeline lineno="599"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRootElement_125cd0a3019e91c5bbe8bc09cdf6e61aa" kindref="member" tooltip="attach new RootElement instance to a file (typically with an XML extension)">RootElement</ref>(<sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal">*<sp/>fileName<sp/>);</highlight></codeline> |
---|
555 | <codeline lineno="600"><highlight class="normal"></highlight></codeline> |
---|
556 | <codeline lineno="601"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>~<ref refid="classRootElement" kindref="compound" tooltip="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">RootElement</ref>();</highlight></codeline> |
---|
557 | <codeline lineno="602"><highlight class="normal"></highlight></codeline> |
---|
558 | <codeline lineno="604"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="classRootElement_1888749537060fd60a939486cd2e73b9b" kindref="member" tooltip="this method loads root element and all its subnodes from the attached file">Load</ref>(<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>)<sp/>;</highlight></codeline> |
---|
559 | <codeline lineno="605"><highlight class="normal"></highlight></codeline> |
---|
560 | <codeline lineno="607"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classRootElement_15ce717e64c3b7be09f695e6ede6294db" kindref="member" tooltip="this method saves all the previsoulsy attached DOMElements into the file">Save</ref><sp/>(<sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
561 | <codeline lineno="608"><highlight class="normal"></highlight></codeline> |
---|
562 | <codeline lineno="610"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classRootElement_19ad2ae1c73d73b06bc98afa0f32d9ad3" kindref="member" tooltip="this operator allows to use a RootElement instance whenever a DOMElement variable...">operator DOMElement&</ref>();</highlight></codeline> |
---|
563 | <codeline lineno="611"><highlight class="normal">};</highlight></codeline> |
---|
564 | <codeline lineno="612"><highlight class="normal"></highlight></codeline> |
---|
565 | <codeline lineno="613"><highlight class="normal"></highlight></codeline> |
---|
566 | <codeline lineno="617"><highlight class="normal"></highlight></codeline> |
---|
567 | <codeline lineno="618"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">BoolUI:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><bool></highlight></codeline> |
---|
568 | <codeline lineno="619"><highlight class="normal">{</highlight></codeline> |
---|
569 | <codeline lineno="620"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
570 | <codeline lineno="621"><highlight class="normal"></highlight></codeline> |
---|
571 | <codeline lineno="622"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal">*<sp/>AssemblyInstance()</highlight></codeline> |
---|
572 | <codeline lineno="623"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline> |
---|
573 | <codeline lineno="624"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>value<sp/>==<sp/></highlight><highlight class="stringliteral">"true"</highlight><highlight class="normal"><sp/>)</highlight></codeline> |
---|
574 | <codeline lineno="625"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>bool(<sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
575 | <codeline lineno="626"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>value<sp/>==<sp/></highlight><highlight class="stringliteral">"false"</highlight><highlight class="normal"><sp/>)</highlight></codeline> |
---|
576 | <codeline lineno="627"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>bool(<sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal"><sp/>);</highlight></codeline> |
---|
577 | <codeline lineno="628"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>NULL;</highlight></codeline> |
---|
578 | <codeline lineno="629"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
579 | <codeline lineno="630"><highlight class="normal"></highlight></codeline> |
---|
580 | <codeline lineno="631"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyInstance(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>&instance)</highlight></codeline> |
---|
581 | <codeline lineno="632"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
582 | <codeline lineno="633"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal">(<sp/>instance<sp/>)</highlight></codeline> |
---|
583 | <codeline lineno="634"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>=<sp/></highlight><highlight class="stringliteral">"true"</highlight><highlight class="normal">;</highlight></codeline> |
---|
584 | <codeline lineno="635"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline> |
---|
585 | <codeline lineno="636"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>=<sp/></highlight><highlight class="stringliteral">"false"</highlight><highlight class="normal">;</highlight></codeline> |
---|
586 | <codeline lineno="637"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;<sp/></highlight></codeline> |
---|
587 | <codeline lineno="638"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
588 | <codeline lineno="639"><highlight class="normal"></highlight></codeline> |
---|
589 | <codeline lineno="640"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
590 | <codeline lineno="641"><highlight class="normal"></highlight></codeline> |
---|
591 | <codeline lineno="642"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>BoolUI()</highlight></codeline> |
---|
592 | <codeline lineno="643"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>:<sp/><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><bool>(</highlight><highlight class="stringliteral">"bool"</highlight><highlight class="normal">)</highlight></codeline> |
---|
593 | <codeline lineno="644"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
594 | <codeline lineno="645"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
595 | <codeline lineno="646"><highlight class="normal">};</highlight></codeline> |
---|
596 | <codeline lineno="647"><highlight class="normal"></highlight></codeline> |
---|
597 | <codeline lineno="648"><highlight class="normal"></highlight></codeline> |
---|
598 | <codeline lineno="649"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">IntUI:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><int></highlight></codeline> |
---|
599 | <codeline lineno="650"><highlight class="normal">{</highlight></codeline> |
---|
600 | <codeline lineno="651"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
601 | <codeline lineno="652"><highlight class="normal"></highlight></codeline> |
---|
602 | <codeline lineno="653"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal">*<sp/>AssemblyInstance()</highlight></codeline> |
---|
603 | <codeline lineno="654"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
604 | <codeline lineno="655"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>int(<sp/>atoi(<sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref>.c_str())<sp/>);</highlight></codeline> |
---|
605 | <codeline lineno="656"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
606 | <codeline lineno="657"><highlight class="normal"></highlight></codeline> |
---|
607 | <codeline lineno="658"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyInstance(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>&instance)</highlight></codeline> |
---|
608 | <codeline lineno="659"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
609 | <codeline lineno="660"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>buff[30];</highlight></codeline> |
---|
610 | <codeline lineno="661"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sprintf(buff,<sp/></highlight><highlight class="stringliteral">"%d"</highlight><highlight class="normal">,<sp/>instance<sp/>);</highlight></codeline> |
---|
611 | <codeline lineno="662"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>=<sp/>buff;</highlight></codeline> |
---|
612 | <codeline lineno="663"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;<sp/></highlight></codeline> |
---|
613 | <codeline lineno="664"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
614 | <codeline lineno="665"><highlight class="normal"></highlight></codeline> |
---|
615 | <codeline lineno="666"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
616 | <codeline lineno="667"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>IntUI():<ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><int>(</highlight><highlight class="stringliteral">"int"</highlight><highlight class="normal">)</highlight></codeline> |
---|
617 | <codeline lineno="668"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
618 | <codeline lineno="669"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
619 | <codeline lineno="670"><highlight class="normal">};</highlight></codeline> |
---|
620 | <codeline lineno="671"><highlight class="normal"></highlight></codeline> |
---|
621 | <codeline lineno="672"><highlight class="normal"></highlight></codeline> |
---|
622 | <codeline lineno="673"><highlight class="normal"></highlight></codeline> |
---|
623 | <codeline lineno="674"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">DoubleUI:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><double></highlight></codeline> |
---|
624 | <codeline lineno="675"><highlight class="normal">{</highlight></codeline> |
---|
625 | <codeline lineno="676"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
626 | <codeline lineno="677"><highlight class="normal"></highlight></codeline> |
---|
627 | <codeline lineno="678"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal">*<sp/>AssemblyInstance()</highlight></codeline> |
---|
628 | <codeline lineno="679"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
629 | <codeline lineno="680"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>double(<sp/>atof(<sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref>.c_str())<sp/>);</highlight></codeline> |
---|
630 | <codeline lineno="681"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
631 | <codeline lineno="682"><highlight class="normal"></highlight></codeline> |
---|
632 | <codeline lineno="683"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyInstance(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>&instance)</highlight></codeline> |
---|
633 | <codeline lineno="684"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
634 | <codeline lineno="685"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>buff[30];</highlight></codeline> |
---|
635 | <codeline lineno="686"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>sprintf(buff,<sp/></highlight><highlight class="stringliteral">"%f"</highlight><highlight class="normal">,<sp/>instance<sp/>);</highlight></codeline> |
---|
636 | <codeline lineno="687"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>=<sp/>buff;</highlight></codeline> |
---|
637 | <codeline lineno="688"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;<sp/></highlight></codeline> |
---|
638 | <codeline lineno="689"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
639 | <codeline lineno="690"><highlight class="normal"></highlight></codeline> |
---|
640 | <codeline lineno="691"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
641 | <codeline lineno="692"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>DoubleUI():<ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><double>(</highlight><highlight class="stringliteral">"double"</highlight><highlight class="normal">)</highlight></codeline> |
---|
642 | <codeline lineno="693"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
643 | <codeline lineno="694"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
644 | <codeline lineno="695"><highlight class="normal">};</highlight></codeline> |
---|
645 | <codeline lineno="696"><highlight class="normal"></highlight></codeline> |
---|
646 | <codeline lineno="697"><highlight class="normal"></highlight></codeline> |
---|
647 | <codeline lineno="698"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal">StringUI:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><string></highlight></codeline> |
---|
648 | <codeline lineno="699"><highlight class="normal">{</highlight></codeline> |
---|
649 | <codeline lineno="700"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline> |
---|
650 | <codeline lineno="701"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">string</highlight><highlight class="normal">*<sp/>AssemblyInstance()</highlight></codeline> |
---|
651 | <codeline lineno="702"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
652 | <codeline lineno="703"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">new</highlight><highlight class="normal"><sp/>string(<sp/>value<sp/>);</highlight></codeline> |
---|
653 | <codeline lineno="704"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
654 | <codeline lineno="705"><highlight class="normal"></highlight></codeline> |
---|
655 | <codeline lineno="706"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>DisassemblyInstance(</highlight><highlight class="keywordtype">string</highlight><highlight class="normal"><sp/>&instance)</highlight></codeline> |
---|
656 | <codeline lineno="707"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
657 | <codeline lineno="708"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classValuedUserInfo_110a0acb3696018386451881ebcc797ea" kindref="member" tooltip="string variable which is automatically binded to a proper DOMElement attribute">value</ref><sp/>=<sp/>instance;</highlight></codeline> |
---|
658 | <codeline lineno="709"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline> |
---|
659 | <codeline lineno="710"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
660 | <codeline lineno="711"><highlight class="normal"></highlight></codeline> |
---|
661 | <codeline lineno="712"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline> |
---|
662 | <codeline lineno="713"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>StringUI():<ref refid="classValuedUserInfo" kindref="compound" tooltip="The main userinfo template class. It should be derived whenever you need a new userinfo...">ValuedUserInfo</ref><string>(</highlight><highlight class="stringliteral">"string"</highlight><highlight class="normal">)</highlight></codeline> |
---|
663 | <codeline lineno="714"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>{</highlight></codeline> |
---|
664 | <codeline lineno="715"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}</highlight></codeline> |
---|
665 | <codeline lineno="716"><highlight class="normal">};</highlight></codeline> |
---|
666 | <codeline lineno="717"><highlight class="normal"></highlight></codeline> |
---|
667 | <codeline lineno="718"><highlight class="normal"></highlight></codeline> |
---|
668 | <codeline lineno="719"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//<sp/>#ifndef<sp/>UI_H</highlight></codeline> |
---|
669 | </programlisting> |
---|
670 | <location file="/home/smidl/work/git/mixpp/bdm/userinfo.h"/> |
---|
671 | </compounddef> |
---|
672 | </doxygen> |
---|