Mobile API Reference  MicroStrategy 2019
Facilities.h File Reference

Go to the source code of this file.

Namespaces

 MSerialization
 

Macros

#define const_swap2(x)
 
#define const_swap4(x)
 
#define const_swap8(x)
 

Enumerations

enum  MSerialization::StreamType { MSerialization::ST_MEMORY, MSerialization::ST_FILE, MSerialization::ST_SHM }
 Enumeration of different stream types. More...
 

Functions

bool MSerialization::MoreThan32Bit (Int64 iData)
 

Variables

const unsigned char MSerialization::GN_Data_Stream_Flag = 0xBE
 

Macro Definition Documentation

◆ const_swap2

#define const_swap2 (   x)
Value:
((unsigned short)( \
(((unsigned short)(x) & (unsigned short)0x00ffU) << 8) | \
(((unsigned short)(x) & (unsigned short)0xff00U) >> 8) ))

◆ const_swap4

#define const_swap4 (   x)
Value:
((unsigned int)( \
(((unsigned int)(x) & (unsigned int)0x000000ffUL) << 24) | \
(((unsigned int)(x) & (unsigned int)0x0000ff00UL) << 8) | \
(((unsigned int)(x) & (unsigned int)0x00ff0000UL) >> 8) | \
(((unsigned int)(x) & (unsigned int)0xff000000UL) >> 24) ))

◆ const_swap8

#define const_swap8 (   x)
Value:
((unsigned Int64)( \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x00000000000000ff) ) << 56) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x000000000000ff00) ) << 40) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x0000000000ff0000) ) << 24) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x00000000ff000000) ) << 8) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x000000ff00000000) ) >> 8) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x0000ff0000000000) ) >> 24) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0x00ff000000000000) ) >> 40) | \
(unsigned Int64)(((unsigned Int64)(x) & INT64(0xff00000000000000) ) >> 56) ))
#define Int64
Definition: BasicTypes.h:36
long long INT64
Definition: PDCwtypes.h:190