Goby3
3.1.4
2024.02.22
|
Specialization for fully qualified Protobuf message types (static), e.g. DataType == Foo for "message Foo". More...
#include <goby/middleware/marshalling/protobuf.h>
Static Public Member Functions | |
static std::vector< char > | serialize (const DataType &msg) |
Serialize Protobuf message (standard Protobuf encoding) More... | |
static std::string | type_name (const DataType &d=DataType()) |
Full protobuf Message name, including package (if one is defined). More... | |
template<typename CharIterator > | |
static std::shared_ptr< DataType > | parse (CharIterator bytes_begin, CharIterator bytes_end, CharIterator &actual_end, const std::string &type=type_name()) |
Parse Protobuf message (using standard Protobuf decoding) More... | |
Specialization for fully qualified Protobuf message types (static), e.g. DataType == Foo for "message Foo".
Definition at line 46 of file protobuf.h.
|
inlinestatic |
Parse Protobuf message (using standard Protobuf decoding)
Definition at line 72 of file protobuf.h.
|
inlinestatic |
Serialize Protobuf message (standard Protobuf encoding)
Definition at line 51 of file protobuf.h.
|
inlinestatic |
Full protobuf Message name, including package (if one is defined).
For example, returns "foo.Bar" for the following .proto:
Definition at line 65 of file protobuf.h.