Changes between Initial Version and Version 1 of types


Ignore:
Timestamp:
Jan 25, 2010, 8:16:47 PM (14 years ago)
Author:
cristian.gratie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • types

    v1 v1  
     1== TraCI data types ==
     2
     3Each TraCI data type has an associated identifier that is generally used in server responses, where the return type may vary. Client commands simply use values without explicitly specifying the data type identifier. Below is a list of data types used by TraCI.
     4
     5{{{
     60x07 - ubyte      - 1 byte   - integer numbers (0 - 255)
     70x08 - byte       - 1 byte   - integer numbers (-128 - 127)
     80x09 - integer    - 4 bytes  - integer numbers (-2^31 - 2^31-1)
     90x0a - float      - 4 bytes  - floating point numbers (single precision)
     100x0b - double     - 8 bytes  - floating point numbers (double precision)
     110x0c - string     - variable - string length n (4 bytes) followed by n 8 bit ASCII characters
     120x0e - stringList - variable - number of strings n (4 bytes) followed by n strings
     13}}}