MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions | Variables
encodingImplHelpers.h File Reference

Go to the source code of this file.

Namespaces

namespace  rti1516e
 The namespace defined by the HLA Evolved Interface Specification which holds the C++ API.

Macros

#define is_bigendian()   ( (*(char*)&endianChecker) == 0 )

Functions

void rti1516e::swapByteArray (char *byteArray, int theSize)
 Swap the byte array in memory.
unsigned short rti1516e::endianSwap16Bit (unsigned short rhs)
 swap 16 bits
unsigned int rti1516e::endianSwap32Bit (unsigned int rhs)
 swap 32 bits
Integer64 rti1516e::endianSwap64Bit (Integer64 rhs)
 swap 64 bits
float rti1516e::endianSwap32BitFloat (float rhs)
 swap 32 bit float
double rti1516e::endianSwap64BitDouble (double rhs)
void rti1516e::appendBytes (std::vector< Octet > &wrapper, const char *bytes, size_t length)
 append to a octet vector
unsigned int rti1516e::paddingSizeInBytes (unsigned int bufferLength, unsigned int elementOctetBoundary)
 Get the padding for this element.
void rti1516e::insertBytes (std::vector< Octet > &wrapper, size_t length)
 Insert bytes into the octet buffer.

Variables

const int rti1516e::endianChecker = 1
 This checks whether the machine is Big Endian or Little Endian.

Detailed Description

Macro Definition Documentation

#define is_bigendian ( )    ( (*(char*)&endianChecker) == 0 )

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)