|
LogCabin
|
Utilities for dealing with protocol buffers. More...
Go to the source code of this file.
Classes | |
| struct | LogCabin::Core::ProtoBuf::InputStream |
| An abstract stream from which ProtoBufs may be read. More... | |
| struct | LogCabin::Core::ProtoBuf::OutputStream |
| An abstract stream to which ProtoBufs may be written. More... | |
Namespaces | |
| namespace | |
| namespace | google::protobuf |
| namespace | LogCabin |
| namespace | LogCabin::Core |
| namespace | LogCabin::Core::ProtoBuf |
| namespace | LogCabin::Core::ProtoBuf::Internal |
Functions | |
| bool | google::protobuf::operator== (const Message &a, const Message &b) |
| Equality for protocol buffers so that they can be used in EXPECT_EQ. | |
| bool | google::protobuf::operator!= (const Message &a, const Message &b) |
| Inequality for protocol buffers so that they can be used in EXPECT_NE. | |
| bool | google::protobuf::operator== (const Message &a, const std::string &bStr) |
| bool | google::protobuf::operator== (const std::string &a, const Message &b) |
| bool | google::protobuf::operator!= (const Message &a, const std::string &b) |
| bool | google::protobuf::operator!= (const std::string &a, const Message &b) |
| void | LogCabin::Core::ProtoBuf::Internal::fromString (const std::string &str, google::protobuf::Message &protoBuf) |
| Helper for fromString template. | |
| template<typename ProtoBuf > | |
| ProtoBuf | LogCabin::Core::ProtoBuf::fromString (const std::string &str) |
| Create a protocol buffer message form a text format. | |
| std::string | LogCabin::Core::ProtoBuf::dumpString (const google::protobuf::Message &protoBuf, bool forCopyingIntoTest=false) |
| Dumps a protocol buffer message. | |
| std::unique_ptr < google::protobuf::Message > | LogCabin::Core::ProtoBuf::copy (const google::protobuf::Message &protoBuf) |
| Copy the contents of a protocol buffer into a new one. | |
| bool | LogCabin::Core::ProtoBuf::parse (const Core::Buffer &from, google::protobuf::Message &to, uint32_t skipBytes=0) |
| Parse a protocol buffer message out of a Core::Buffer. | |
| void | LogCabin::Core::ProtoBuf::serialize (const google::protobuf::Message &from, Core::Buffer &to, uint32_t skipBytes=0) |
| Serialize a protocol buffer message into a Core::Buffer. | |
Utilities for dealing with protocol buffers.
Definition in file ProtoBuf.h.
1.7.6.1