otsdaq  v2_05_02_indev
ots::BinaryStringMacros Struct Reference

Static Public Member Functions

static std::string binaryStringToHexString (const void *binaryBuffer, unsigned int numberOfBytes, const std::string &resultPreamble="", const std::string &resultDelimiter="")
 
template<class T >
static std::string binaryNumberToHexString (const T &binaryBuffer, const std::string &resultPreamble="0x", const std::string &resultDelimiter=" ")
 
static std::string binaryNumberToHexString (const std::string &binaryBuffer, const std::string &resultPreamble="0x", const std::string &resultDelimiter=" ")
 
static std::string binaryNumberToHexString (const void *binaryBuffer, unsigned int numberOfBytes, const std::string &resultPreamble="0x", const std::string &resultDelimiter=" ")
 
template<class T >
static void insertValueInBinaryString (std::string &binaryBuffer, T value, unsigned int bitIndex=0)
 
static void insertValueInBinaryString (std::string &binaryBuffer, const std::string &value, unsigned int bitIndex=0)
 
template<class T >
static void extractValueFromBinaryString (const std::string &binaryBuffer, T &value, unsigned int bitIndex=0)
 
static void extractValueFromBinaryString (const std::string &binaryBuffer, std::string &value, unsigned int valueNumberOfBits, unsigned int bitIndex=0)
 
static void extractValueFromBinaryString (const void *binaryBuffer, unsigned int bufferNumberOfBytes, void *value, unsigned int valueNumberOfBits, unsigned int bitIndex=0)
 

Detailed Description

Definition at line 14 of file BinaryStringMacros.h.


The documentation for this struct was generated from the following files: