#include <PBUtils.h>

Static Public Member Functions

static bool SerializeFromString (const std::string &src, google::protobuf::Message &dst, SerializationFormat m, Logger *logger)
 
static bool SerializeToString (const google::protobuf::Message &src, std::string &output, SerializationFormat m, Logger *logger)
 
static void ProtobufLogHandler (google::protobuf::LogLevel level, const char *filename, int line, const std::string &message)
 

Member Function Documentation

◆ ProtobufLogHandler()

void PBUtils::ProtobufLogHandler ( google::protobuf::LogLevel  level,
const char *  filename,
int  line,
const std::string &  message 
)
static

◆ SerializeFromString()

bool PBUtils::SerializeFromString ( const std::string &  src,
google::protobuf::Message &  dst,
SerializationFormat  m,
Logger logger 
)
static

◆ SerializeToString()

bool PBUtils::SerializeToString ( const google::protobuf::Message &  src,
std::string &  output,
SerializationFormat  m,
Logger logger 
)
static