2005/5/9

     
 

Basic Types

artefaktur

| Basic Types | Enum Types | Object Types | Array Types | Interface Types | Exception Types | Member Types | Method Types | Namespace Types | Foreign Types |



ACDK has a set on known basic types.


These are:
  • bool
  • char
  • uc2char (Unicode 2 byte character)
  • uc4char (Unicode 4 byte character)
  • byte
  • short
  • int
  • jlong
  • float
  • double

bool Boolean type. native C++ type.
Object wrapper:  acdk::lang::Boolean
char character type.
8 bit.
native C++ type Object wrapper:  acdk::lang::Character
uc2char character type.
16 bit.
normally typedef to unsigned short Object wrapper:  acdk::lang::UnicodeCharacter
uc4char character type.
23 bit.
normally typedef to unsigned int Object wrapper:  acdk::lang::UnicodeCharacter

byte small integer type.
8 bit.
native C++ type 'unsigned char' Object wrapper:  acdk::lang::Byte
short short integer type.
16 bit.
native C++ type Object wrapper:  acdk::lang::Short
int integer type.
32 bit.
native C++ type Object wrapper:  acdk::lang::Integer
jlong long integer type. 64 bit.
depends on plattformL Object wrapper:  acdk::lang::Short
float small floating point type. 32 bit.
native C++ type.
Object wrapper:  acdk::lang::Float
double long floating point type. 64 bit.
native C++ type.
Object wrapper:  acdk::lang::Double