2005/5/10

     
 

Types of ACDK

artefaktur

| Basics | Objects | Types | Hello World |


In ACDK, you can use all possible types that can be used in C++.
Yet, if you want your code to be supported by metafeatures like gargabe collection, serialization, debugging, scripting etc., you should use types that are supported by ACDK.


Content of this chapter:

   Basic building Types




 Basic building Types

Just like in Java, the following types are mapped in ACDK:
ACDKJavaAnnotations
boolbooleanmust be supported by C++-Compiler
charchar

!

8/7 bits wide character
uccharchar

!

16 bits wide character

bytebytemapped to (unsigned char)
shortshort
intint
jlonglongmust be supported by the compiler.
Mapped on (long long) or int64
floatfloat
doubledouble

!

Types with 'unsigned' (unsigned long) or 'const' (const int)are not supported.
Also not supported are pointer (char*) and arrays (int[]).
Please refer also to:  Basic Types.


Go next chapter:  Objects.

 < prevTutorial(3 / 4) next >