libMVRgdtf 40bc00a
A library for GDTF and MVR
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mvrxchange_message.cpp File Reference
#include "mvrxchange_prefix.h"
#include "mvrxchange_message.h"
#include "XmlFileHelper.h"

Functions

template<typename T >
swap_endian (T u)
 
void MVR_COMMIT_ToJson (const IMVRxchangeService::MVR_COMMIT_MESSAGE &msg, nlohmann::json &payload)
 
void MVR_COMMIT_FromJson (const nlohmann::json &payload, IMVRxchangeService::MVR_COMMIT_MESSAGE &in)
 
uint32_t HandleStringNumber (const nlohmann::json &item)
 
bool HandleStringBool (const nlohmann::json &item)
 

Function Documentation

◆ HandleStringBool()

bool HandleStringBool ( const nlohmann::json item)

◆ HandleStringNumber()

uint32_t HandleStringNumber ( const nlohmann::json item)

◆ MVR_COMMIT_FromJson()

void MVR_COMMIT_FromJson ( const nlohmann::json payload,
IMVRxchangeService::MVR_COMMIT_MESSAGE &  in 
)

◆ MVR_COMMIT_ToJson()

void MVR_COMMIT_ToJson ( const IMVRxchangeService::MVR_COMMIT_MESSAGE &  msg,
nlohmann::json payload 
)

◆ swap_endian()

template<typename T >
T swap_endian ( u)