kzs_system.hpp File Reference

System header. More...

Functions

KANZI_API kzsError kzsSystemInitialize (void)
 Initializes the system. More...
 
KANZI_API kzsException kzsSystemUninitialize (void)
 Uninitializes the system. More...
 
void kzsFloatToBytesLittleEndian (kzFloat floatValue, kanzi::byte *out_floatBytes)
 Converts a 32-bit floating point number to 4 bytes in little-endian format. More...
 
void kzsFloatToBytesBigEndian (kzFloat floatValue, kanzi::byte *out_floatBytes)
 Converts a 32-bit floating point number to 4 bytes in big-endian format. More...
 
kzFloat kzsBytesToFloatLittleEndian (const kanzi::byte *floatBytes)
 Converts 4 bytes of floating point value from little-endian format to a 32-bit floating point number. More...
 
kzFloat kzsBytesToFloatBigEndian (const kanzi::byte *floatBytes)
 Converts 4 bytes of floating point value from big-endian format to a 32-bit floating point number. More...
 
kzString kzsGetVersionString (void)
 Returns the Kanzi version string constant. More...
 

Detailed Description

System header.

Copyright 2008-2017 by Rightware. All rights reserved.

Function Documentation

KANZI_API kzsError kzsSystemInitialize ( void  )

Initializes the system.

KANZI_API kzsException kzsSystemUninitialize ( void  )

Uninitializes the system.

void kzsFloatToBytesLittleEndian ( kzFloat  floatValue,
kanzi::byte out_floatBytes 
)

Converts a 32-bit floating point number to 4 bytes in little-endian format.

void kzsFloatToBytesBigEndian ( kzFloat  floatValue,
kanzi::byte out_floatBytes 
)

Converts a 32-bit floating point number to 4 bytes in big-endian format.

kzFloat kzsBytesToFloatLittleEndian ( const kanzi::byte floatBytes)

Converts 4 bytes of floating point value from little-endian format to a 32-bit floating point number.

kzFloat kzsBytesToFloatBigEndian ( const kanzi::byte floatBytes)

Converts 4 bytes of floating point value from big-endian format to a 32-bit floating point number.

kzString kzsGetVersionString ( void  )

Returns the Kanzi version string constant.