IDL Base types
The base types of IDL are boolean values, binary values, signed or unsigned integers, floating point and characters. The chapter on GenoM IDL mappings explains how they map to the actual programming language.
Integer types
They represent integer values in the range indicated below.
short |
-215 .. 215-1 |
long |
-231 .. 231-1 |
long long |
-263 .. 263-1 |
unsigned short |
0 .. 216-1 |
unsigned long |
0 .. 232-1 |
unsigned long long |
0 .. 264-1 |
Floating point types
They represent floating point values. The float
type represents IEEE
single-precision floating point numbers; the double
type represents
IEEE double-precision floating point numbers.
Char types
A char data type that is an 8-bit quantity that encodes a single-byte character.
Boolean Types
The boolean data type is used to denote a data item that can only take one of the values TRUE and FALSE.
Octet Types
The octet type represents an 8 bit quantity.
Any Types
Caution
|
The any type is a generic type that can contain any other type. This is
not yet implemented in genom, so you must not use it.
|