HPCToolkit
TraceviewerServer::ByteUtilities Class Reference

#include <ByteUtilities.hpp>

Static Public Member Functions

static short readShort (char *buffer)
 
static int readInt (char *buffer)
 
static int64_t readLong (char *buffer)
 
static void writeShort (char *buffer, short ToWrite)
 
static void writeInt (char *buffer, int ToWrite)
 
static void writeLong (char *buffer, int64_t ToWrite)
 
static Long convertDoubleToLong (double d)
 
static double convertLongToDouble (Long l)
 

Static Private Attributes

static const unsigned int MASK_0 = 0x000000FF
 
static const unsigned int MASK_1 = 0x0000FF00
 
static const unsigned int MASK_2
 
static const unsigned int MASK_3 = 0xFF000000
 
static const uint64_t MASK_4 = 0x000000FF00000000ULL
 
static const uint64_t MASK_5 = 0x0000FF0000000000ULL
 
static const uint64_t MASK_6 = 0x00FF000000000000ULL
 
static const uint64_t MASK_7
 

Detailed Description

Definition at line 70 of file ByteUtilities.hpp.

Member Function Documentation

◆ convertDoubleToLong()

static Long TraceviewerServer::ByteUtilities::convertDoubleToLong ( double  d)
inlinestatic

Definition at line 122 of file ByteUtilities.hpp.

Here is the caller graph for this function:

◆ convertLongToDouble()

static double TraceviewerServer::ByteUtilities::convertLongToDouble ( Long  l)
inlinestatic

Definition at line 128 of file ByteUtilities.hpp.

Here is the caller graph for this function:

◆ readInt()

static int TraceviewerServer::ByteUtilities::readInt ( char *  buffer)
inlinestatic

Definition at line 80 of file ByteUtilities.hpp.

Here is the caller graph for this function:

◆ readLong()

static int64_t TraceviewerServer::ByteUtilities::readLong ( char *  buffer)
inlinestatic

Definition at line 86 of file ByteUtilities.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readShort()

static short TraceviewerServer::ByteUtilities::readShort ( char *  buffer)
inlinestatic

Definition at line 74 of file ByteUtilities.hpp.

Here is the caller graph for this function:

◆ writeInt()

static void TraceviewerServer::ByteUtilities::writeInt ( char *  buffer,
int  ToWrite 
)
inlinestatic

Definition at line 101 of file ByteUtilities.hpp.

Here is the caller graph for this function:

◆ writeLong()

static void TraceviewerServer::ByteUtilities::writeLong ( char *  buffer,
int64_t  ToWrite 
)
inlinestatic

Definition at line 110 of file ByteUtilities.hpp.

Here is the caller graph for this function:

◆ writeShort()

static void TraceviewerServer::ByteUtilities::writeShort ( char *  buffer,
short  ToWrite 
)
inlinestatic

Definition at line 94 of file ByteUtilities.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ MASK_0

const unsigned int TraceviewerServer::ByteUtilities::MASK_0 = 0x000000FF
staticprivate

Definition at line 135 of file ByteUtilities.hpp.

◆ MASK_1

const unsigned int TraceviewerServer::ByteUtilities::MASK_1 = 0x0000FF00
staticprivate

Definition at line 135 of file ByteUtilities.hpp.

◆ MASK_2

const unsigned int TraceviewerServer::ByteUtilities::MASK_2
staticprivate
Initial value:
=
0x00FF0000

Definition at line 135 of file ByteUtilities.hpp.

◆ MASK_3

const unsigned int TraceviewerServer::ByteUtilities::MASK_3 = 0xFF000000
staticprivate

Definition at line 136 of file ByteUtilities.hpp.

◆ MASK_4

const uint64_t TraceviewerServer::ByteUtilities::MASK_4 = 0x000000FF00000000ULL
staticprivate

Definition at line 137 of file ByteUtilities.hpp.

◆ MASK_5

const uint64_t TraceviewerServer::ByteUtilities::MASK_5 = 0x0000FF0000000000ULL
staticprivate

Definition at line 138 of file ByteUtilities.hpp.

◆ MASK_6

const uint64_t TraceviewerServer::ByteUtilities::MASK_6 = 0x00FF000000000000ULL
staticprivate

Definition at line 138 of file ByteUtilities.hpp.

◆ MASK_7

const uint64_t TraceviewerServer::ByteUtilities::MASK_7
staticprivate
Initial value:
=
0xFF00000000000000ULL

Definition at line 138 of file ByteUtilities.hpp.


The documentation for this class was generated from the following file: