Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xid
/
specs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c1ff8063
authored
2018-04-05 02:23:25 -0700
by
Skip Hines
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ILP-536 : added tags for native Java data types
1 parent
3e376a86
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
25 deletions
Tensor/V1.1/Definitions.xid.xml
Tensor/V1.1/Definitions.xid.xml
View file @
c1ff806
...
...
@@ -33,7 +33,9 @@
<comment>
represents true/false
</comment>
<lang
name=
"c"
type=
"bool"
include=
"stdbool.h"
/>
<lang
name=
"cpp"
type=
"bool"
/>
<lang
name=
"java"
type=
"XidBool"
include=
"com.comtechtel.tensor.xid.XidBool"
/>
<lang
name=
"java"
type=
"XidBool"
include=
"com.comtechtel.tensor.xid.XidBool"
>
<tag
name=
"native"
value=
"boolean"
/>
</lang>
<lang
name=
"node"
type=
"XidBool"
/>
</type>
...
...
@@ -41,14 +43,18 @@
<comment>
8-bit, unsigned value
</comment>
<lang
name=
"c"
type=
"uint8_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"uint8_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidByte"
include=
"com.comtechtel.tensor.xid.XidByte"
/>
<lang
name=
"java"
type=
"XidByte"
include=
"com.comtechtel.tensor.xid.XidByte"
>
<tag
name=
"native"
value=
"byte"
/>
</lang>
<lang
name=
"node"
type=
"XidUInt8"
/>
</type>
<type
name=
"uint16"
size=
"2"
>
<comment>
16-bit, unsigned value
</comment>
<lang
name=
"c"
type=
"uint16_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"uint16_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidShort"
include=
"com.comtechtel.tensor.xid.XidShort"
/>
<lang
name=
"java"
type=
"XidShort"
include=
"com.comtechtel.tensor.xid.XidShort"
>
<tag
name=
"native"
value=
"short"
/>
</lang>
<lang
name=
"node"
type=
"XidUShort"
/>
</type>
<type
name=
"uint24"
size=
"3"
>
...
...
@@ -62,14 +68,18 @@
<comment>
32-bit, unsigned value
</comment>
<lang
name=
"c"
type=
"uint32_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"uint32_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidInt"
include=
"com.comtechtel.tensor.xid.XidInt"
/>
<lang
name=
"java"
type=
"XidInt"
include=
"com.comtechtel.tensor.xid.XidInt"
>
<tag
name=
"native"
value=
"int"
/>
</lang>
<lang
name=
"node"
type=
"XidUInt"
/>
</type>
<type
name=
"uint64"
size=
"8"
>
<comment>
64-bit, unsigned value
</comment>
<lang
name=
"c"
type=
"uint64_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"uint64_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidLong"
include=
"com.comtechtel.tensor.xid.XidLong"
/>
<lang
name=
"java"
type=
"XidLong"
include=
"com.comtechtel.tensor.xid.XidLong"
>
<tag
name=
"native"
value=
"long"
/>
</lang>
<lang
name=
"node"
type=
"XidULong"
/>
</type>
...
...
@@ -77,14 +87,18 @@
<comment>
8-bit, signed value
</comment>
<lang
name=
"c"
type=
"int8_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"int8_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidByte"
include=
"com.comtechtel.tensor.xid.XidByte"
/>
<lang
name=
"java"
type=
"XidByte"
include=
"com.comtechtel.tensor.xid.XidByte"
>
<tag
name=
"native"
value=
"byte"
/>
</lang>
<lang
name=
"node"
type=
"XidInt8"
/>
</type>
<type
name=
"int16"
size=
"2"
>
<comment>
16-bit, signed value
</comment>
<lang
name=
"c"
type=
"int16_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"int16_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidShort"
include=
"com.comtechtel.tensor.xid.XidShort"
/>
<lang
name=
"java"
type=
"XidShort"
include=
"com.comtechtel.tensor.xid.XidShort"
>
<tag
name=
"native"
value=
"short"
/>
</lang>
<lang
name=
"node"
type=
"XidShort"
/>
</type>
<type
name=
"int24"
size=
"3"
>
...
...
@@ -98,14 +112,18 @@
<comment>
32-bit, signed value
</comment>
<lang
name=
"c"
type=
"int32_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"int32_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidInt"
include=
"com.comtechtel.tensor.xid.XidInt"
/>
<lang
name=
"java"
type=
"XidInt"
include=
"com.comtechtel.tensor.xid.XidInt"
>
<tag
name=
"native"
value=
"int"
/>
</lang>
<lang
name=
"node"
type=
"XidInt"
/>
</type>
<type
name=
"int64"
size=
"8"
>
<comment>
64-bit, signed value
</comment>
<lang
name=
"c"
type=
"int64_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"int64_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidLong"
include=
"com.comtechtel.tensor.xid.XidLong"
/>
<lang
name=
"java"
type=
"XidLong"
include=
"com.comtechtel.tensor.xid.XidLong"
>
<tag
name=
"native"
value=
"long"
/>
</lang>
<lang
name=
"node"
type=
"XidLong"
/>
</type>
...
...
@@ -122,7 +140,9 @@
<artifact>
https://wikipedia.org/wiki/Single-precision_floating-point_format
</artifact>
<lang
name=
"c"
type=
"float"
/>
<lang
name=
"cpp"
type=
"float"
/>
<lang
name=
"java"
type=
"XidFloat"
include=
"com.comtechtel.tensor.xid.XidFloat"
/>
<lang
name=
"java"
type=
"XidFloat"
include=
"com.comtechtel.tensor.xid.XidFloat"
>
<tag
name=
"native"
value=
"float"
/>
</lang>
<lang
name=
"node"
type=
"XidFloat"
/>
</type>
<type
name=
"float64"
size=
"8"
>
...
...
@@ -130,7 +150,9 @@
<artifact>
https://wikipedia.org/wiki/Double-precision_floating-point_format
</artifact>
<lang
name=
"c"
type=
"double"
/>
<lang
name=
"cpp"
type=
"double"
/>
<lang
name=
"java"
type=
"XidDouble"
include=
"com.comtechtel.tensor.xid.XidDouble"
/>
<lang
name=
"java"
type=
"XidDouble"
include=
"com.comtechtel.tensor.xid.XidDouble"
>
<tag
name=
"native"
value=
"double"
/>
</lang>
<lang
name=
"node"
type=
"XidDouble"
/>
</type>
<!--
...
...
@@ -145,7 +167,9 @@
<comment>
A single byte
</comment>
<lang
name=
"c"
type=
"uint8_t"
include=
"stdint.h"
/>
<lang
name=
"cpp"
type=
"uint8_t"
include=
"cstdint"
/>
<lang
name=
"java"
type=
"XidByte"
include=
"com.comtechtel.tensor.xid.XidByte"
/>
<lang
name=
"java"
type=
"XidByte"
include=
"com.comtechtel.tensor.xid.XidByte"
>
<tag
name=
"native"
value=
"byte"
/>
</lang>
<lang
name=
"node"
type=
"XidUInt8"
/>
</type>
<type
name=
"raw"
>
...
...
@@ -161,7 +185,9 @@
<comment>
Variable sized collection of characters
</comment>
<lang
name=
"c"
type=
"CXMFString"
include=
"Tensor/CXMF/CXMFString.h"
/>
<lang
name=
"cpp"
type=
"std::string"
include=
"string"
/>
<lang
name=
"java"
type=
"XidString"
include=
"com.comtechtel.tensor.xid.XidString"
/>
<lang
name=
"java"
type=
"XidString"
include=
"com.comtechtel.tensor.xid.XidString"
>
<tag
name=
"native"
value=
"String"
/>
</lang>
<lang
name=
"node"
type=
"XidString"
/>
</type>
...
...
@@ -289,23 +315,26 @@
<!-- These types are not intended to be used in XID declarations. -->
<!-- They are used in XIDCG so that types are not hardcoded. -->
<!-- In theory, you can override "Atom",etc. with your o
ur
API compatible implementation,
<!-- In theory, you can override "Atom",etc. with your o
wn
API compatible implementation,
renerate and have a completely different encoding support.
For instance, this can be used to define and encode TCAP BER.
-->
<type
name=
"Atom"
>
<comment>
Atom type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="CAtom" include="Tensor/CXMF/CXMF.h"/> -->
<lang
name=
"c"
type=
"CAtom"
include=
"Tensor/CXMF/CXMF.h"
/>
<lang
name=
"cpp"
type=
"::Tensor::XMF::Atom"
include=
"Tensor/XMF/Atom.h"
/>
<lang
name=
"java"
type=
"Atom"
include=
"com.comtechtel.tensor.xmf.Atom"
/>
<lang
name=
"node"
type=
"Atom"
/>
</type>
<type
name=
"AtomListIF"
>
<comment>
AtomList type XIDCG uses
</comment>
<lang
name=
"c"
type=
"CAtomListBase"
include=
"Tensor/CXMF/CXMF.h"
/>
<!-- <lang name="cpp" type="::Tensor::XMF::AtomList" include="Tensor/XMF/AtomList.h"/> -->
<lang
name=
"java"
type=
"AtomListIF"
include=
"com.comtechtel.tensor.xmf.AtomListIF"
/>
<!-- <lang name="node" type="AtomList"/> -->
</type>
<type
name=
"AtomList"
>
<comment>
AtomList type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="CAtomList" include="Tensor/CXMF/CXMF.h"/> -->
<lang
name=
"c"
type=
"CAtomList"
include=
"Tensor/CXMF/CXMF.h"
/>
<lang
name=
"cpp"
type=
"::Tensor::XMF::AtomList"
include=
"Tensor/XMF/AtomList.h"
/>
<lang
name=
"java"
type=
"AtomList"
include=
"com.comtechtel.tensor.xmf.AtomList"
/>
...
...
@@ -313,8 +342,6 @@
</type>
<type
name=
"PackedAtomList"
>
<comment>
PackedAtomList type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="CPackedAtomList" include="Tensor/CXMF/CXMF.h"/> -->
<lang
name=
"c"
type=
"CPackedAtomList"
include=
"Tensor/CXMF/CXMF.h"
/>
<lang
name=
"cpp"
type=
"::Tensor::XMF::PackedAtomList"
include=
"Tensor/XMF/PackedAtomList.h"
/>
<lang
name=
"java"
type=
"PackedAtomList"
include=
"com.comtechtel.tensor.xmf.PackedAtomList"
/>
...
...
@@ -322,8 +349,6 @@
</type>
<type
name=
"AtomListIterator"
>
<comment>
AtomList type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="CAtomList" include="Tensor/CXMF/CXMF.h"/> -->
<lang
name=
"c"
type=
"CAtomListIterator"
include=
"Tensor/CXMF/CXMF.h"
/>
<lang
name=
"cpp"
type=
"::Tensor::XMF::AtomListIterator"
include=
"Tensor/XMF/AtomList.h"
/>
<lang
name=
"java"
type=
"AtomListIterator"
include=
"com.comtechtel.tensor.xmf.AtomListIterator"
/>
...
...
@@ -331,7 +356,6 @@
</type>
<type
name=
"JSONObject"
>
<comment>
JSONObject type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="" include=""/> -->
<lang
name=
"cpp"
type=
"::Tensor::JSON::JSONObj"
include=
"Tensor/JSON/TensorJSON.h"
/>
<lang
name=
"java"
type=
"JSONObject"
include=
"com.comtechtel.tensor.json.JSONObject"
/>
...
...
@@ -339,7 +363,6 @@
</type>
<type
name=
"JSONArray"
>
<comment>
JSONArray type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="" include=""/> -->
<!-- <lang name="cpp" type="::Tensor::JSON::JSONObj" include="Tensor/JSON/TensorJSON.h"/> -->
<lang
name=
"java"
type=
"JSONArray"
include=
"com.comtechtel.tensor.json.JSONArray"
/>
...
...
@@ -347,7 +370,6 @@
</type>
<type
name=
"JSONException"
>
<comment>
JSONException type XIDCG uses
</comment>
<!-- may change this type -->
<!-- <lang name="c" type="" include=""/> -->
<!-- <lang name="cpp" type="::Tensor::JSON::JSONObj" include="Tensor/JSON/TensorJSON.h"/> -->
<lang
name=
"java"
type=
"JSONException"
include=
"com.comtechtel.tensor.json.JSONException"
/>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment