Rock's Architecture : think Server/Client, think a simpler future




Advice


Data types


IDL

C++

JAVA
Type Size Range
Type
Type Range Wrappers
boolean


bool
boolean
Boolean
octet 8 bit byte 0 through (28)-1
unsigned char
byte 0 through (28)-1 Byte
char 8 bit character (ISO latin-1) -27 through (27)-1
char
char
Character
wchar international character format

wchar_t
char
Character
short 16 bit signed integer -215 through (215)-1
short
short -215 through (215)-1 Short
unsigned short 16 bit unsigned integer 0 through (216)-1
unsigned short
short
Short
long 32 bit signed integer -231 through (231)-1
long
int -231 through (231)-1 Integer
unsigned long 32 bit unsigned integer 0 through (232)-1
unsigned long
int
Integer
long long 64 bit signed integer -263 through (263)-1
long long, _int64
long -263 through (263)-1 Long
unsigned long long 64 bit unsigned integer 0 through (264)-1
unsigned long long unsigned _int64
long
Long
float 32 bit IEEE float -3.4*10-38 � 3.4*1038
float
float -1.4*10-45 � 3.4*1038 Float
double 64 bit IEEE float -1.7*10-308 � 1.7*10308
double
double -4.9*10-324 � 1.7*10308 Double
long double 64, 96 or 128 bit float

long double
double !!!!!! no equivalent type Double
string character string based on char

char[]


String
wstring character string based on wchar

wchar_t[]


String
fixed






BigDecimal


Conception


Portable UI Client


Portable code


Naming Service