~ubuntu-branches/ubuntu/trusty/virtualbox-lts-xenial/trusty-proposed

« back to all changes in this revision

Viewing changes to src/VBox/Main/webservice/types.txt

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2016-02-23 14:28:26 UTC
  • Revision ID: package-import@ubuntu.com-20160223142826-bdu69el2z6wa2a44
Tags: upstream-4.3.36-dfsg
ImportĀ upstreamĀ versionĀ 4.3.36-dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 XIDL               IPRT        COM         XPCOM           WSDL                gSOAP default          JAX-WS            PHP
 
3
 
 
4
 boolean                        BOOL        PRBool          xsd:boolean         bool                   Boolean           boolean
 
5
 
 
6
 octet              uint8_t     BYTE        PRUint8         xsd:unsignedByte                           Short             integer
 
7
 
 
8
 short              int16_t     SHORT       PRInt16         xsd:short           short                  Short   (2)       integer
 
9
 unsigned short     uint16_t    USHORT      PRUint16        xsd:unsignedShort   unsigned short         Integer (2)       integer
 
10
 long               int32_t     LONG        PRInt32         xsd:int             int                    Integer (2)       integer
 
11
 unsigned long      uint32_t    ULONG       PRUint32        xsd:unsignedInt     unsigned int           Long    (2)       float (3)
 
12
 long long          int64_t     LONG64      PRInt64         xsd:long            long long              Long    (2)       float (3)
 
13
 unsigned long long uint64_t    ULONG64     PRUint64        xsd:unsignedLong    unsigned long long     BigInteger (2)    float (3)
 
14
 
 
15
 double                                                     xsd:double          double                 Double            float
 
16
 float                                                      xsd:float           float                  Float             float
 
17
 
 
18
 wstring                        BSTR        PRUnichar*      xsd:string          std::string            String            string
 
19
 
 
20
 result                                                     xsd:unsignedInt(1)  (undefined)                             
 
21
 
 
22
 uuid                                                       xsd:string(1)       (undefined)
 
23
 
 
24
 
 
25
(1) my definition
 
26
(2) Java "Short" is signed 16-bit integer; since Java has no support for unsigned types, we need to use the
 
27
    next bigger class, which is Integer, for IPRT uint16_t. Similarly for the other integer types.
 
28
(3) PHP does not support unsigned integers; Size of integer is platform-dependent, usual value of at least 32-bits signed. Use float for numbers greeted that signed 32-bit int
 
29
 
 
30