8bb5ff74 by Skip Hines

Added datatype XIDCG uses so they are not hardcoded in generators

1 parent c812513b
1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?>
2 2
3 <!-- 3 <!--
4 Copyright (c) 2017, TeleCommunication Systems, Inc., 4 Copyright (c) 2018, TeleCommunication Systems, Inc.,
5 a wholly-owned subsidiary of Comtech Telecommunications Corp. 5 a wholly-owned subsidiary of Comtech Telecommunications Corp.
6 and/or affiliates of TeleCommunication Systems, Inc. 6 and/or affiliates of TeleCommunication Systems, Inc.
7 All rights reserved. 7 All rights reserved.
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
153 <!-- may change this type --> 153 <!-- may change this type -->
154 <lang name="c" type="CXMFString" include="Tensor/CXMF/CXMFString.h"/> 154 <lang name="c" type="CXMFString" include="Tensor/CXMF/CXMFString.h"/>
155 <lang name="cpp" type="::Tensor::XMF::Atom" include="Tensor/XMF/Atom.h"/> 155 <lang name="cpp" type="::Tensor::XMF::Atom" include="Tensor/XMF/Atom.h"/>
156 <lang name="java" type="Atom" include="com.comtechtel.tensor.xmf.Atom"/> 156 <lang name="java" type="XidRaw" include="com.comtechtel.tensor.xid.XidRaw"/>
157 <lang name="node" type="Atom"/> 157 <lang name="node" type="Atom"/>
158 </type> 158 </type>
159 159
...@@ -201,13 +201,13 @@ ...@@ -201,13 +201,13 @@
201 <comment>JSON formatted/encoded string</comment> 201 <comment>JSON formatted/encoded string</comment>
202 <lang name="c" type="CXMFString" include="Tensor/CXMF/CXMFString.h"/> 202 <lang name="c" type="CXMFString" include="Tensor/CXMF/CXMFString.h"/>
203 <lang name="cpp" type="::Tensor::JSON::JSONObj" include="Tensor/JSON/TensorJSON.h"/> 203 <lang name="cpp" type="::Tensor::JSON::JSONObj" include="Tensor/JSON/TensorJSON.h"/>
204 <lang name="java" type="XidString" include="com.comtechtel.tensor.xid.XidString"/> 204 <lang name="java" type="XidJSON" include="com.comtechtel.tensor.xid.XidJSON"/>
205 <lang name="node" type="XidString"/> 205 <lang name="node" type="XidString"/>
206 </type> 206 </type>
207 207
208 <type name="xmf"> 208 <type name="xmf">
209 <comment>XMF formatted/encoded data, this is straight XMF in XMF formatted data, and base64 encoded binary XMF in JSON formatted data. </comment> 209 <comment>XMF formatted/encoded data, this is straight XMF in XMF formatted data, and base64 encoded binary XMF in JSON formatted data. </comment>
210 <lang name="c" type="CAtom" include="Tensor/CXMF/GetPut.h"/> 210 <lang name="c" type="CAtom" include="Tensor/CXMF/CXMF.h"/>
211 <lang name="cpp" type="::Tensor::XMF::Atom" include="Tensor/XMF/Atom.h"/> 211 <lang name="cpp" type="::Tensor::XMF::Atom" include="Tensor/XMF/Atom.h"/>
212 <lang name="java" type="Atom" include="com.comtechtel.tensor.xmf.Atom"/> 212 <lang name="java" type="Atom" include="com.comtechtel.tensor.xmf.Atom"/>
213 <lang name="node" type="Atom"/> 213 <lang name="node" type="Atom"/>
...@@ -284,5 +284,49 @@ ...@@ -284,5 +284,49 @@
284 </comment> 284 </comment>
285 </literal> 285 </literal>
286 </enum> 286 </enum>
287
288
289
290 <!-- These types are not intended to be used in XID declarations. -->
291 <!-- They are used in XIDCG so that types are not hardcoded. -->
292 <!-- In theory, you can override "Atom",etc. with your our API compatible implementation,
293 renerate and have a completely different encoding support.
294 For instance, this can be used to define and encode TCAP BER.
295 -->
296 <type name="Atom">
297 <comment>Atom type XIDCG uses </comment>
298 <!-- may change this type -->
299 <!-- <lang name="c" type="CAtom" include="Tensor/CXMF/CXMF.h"/> -->
300 <lang name="c" type="CAtom" include="Tensor/CXMF/CXMF.h"/>
301 <lang name="cpp" type="::Tensor::XMF::Atom" include="Tensor/XMF/Atom.h"/>
302 <lang name="java" type="Atom" include="com.comtechtel.tensor.xmf.Atom"/>
303 <lang name="node" type="Atom"/>
304 </type>
305 <type name="AtomList">
306 <comment>AtomList type XIDCG uses </comment>
307 <!-- may change this type -->
308 <!-- <lang name="c" type="CAtomList" include="Tensor/CXMF/CXMF.h"/> -->
309 <lang name="c" type="CAtomList" include="Tensor/CXMF/CXMF.h"/>
310 <lang name="cpp" type="::Tensor::XMF::AtomList" include="Tensor/XMF/AtomList.h"/>
311 <lang name="java" type="AtomList" include="com.comtechtel.tensor.xmf.AtomList"/>
312 <lang name="node" type="AtomList"/>
313 </type>
314 <type name="PackedAtomList">
315 <comment>PackedAtomList type XIDCG uses </comment>
316 <!-- may change this type -->
317 <!-- <lang name="c" type="CPackedAtomList" include="Tensor/CXMF/CXMF.h"/> -->
318 <lang name="c" type="CPackedAtomList" include="Tensor/CXMF/CXMF.h"/>
319 <lang name="cpp" type="::Tensor::XMF::PackedAtomList" include="Tensor/XMF/PackedAtomList.h"/>
320 <lang name="java" type="PackedAtomList" include="com.comtechtel.tensor.xmf.PackedAtomList"/>
321 <lang name="node" type="PackedAtomList"/>
322 </type>
323 <type name="JSONObject">
324 <comment>JSONObject type XIDCG uses </comment>
325 <!-- may change this type -->
326 <!-- <lang name="c" type="" include=""/> -->
327 <lang name="cpp" type="::Tensor::JSON::JSONObj" include="Tensor/JSON/TensorJSON.h"/>
328 <lang name="java" type="JSONObject" include="com.comtechtel.tensor.json.JSONObject"/>
329 <!-- <lang name="node" type=""/> -->
330 </type>
287 </namespace> 331 </namespace>
288 </specification> 332 </specification>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!