|
boost::shared_ptr< dccl::Codec > | codec () |
| Return the underlying dccl::Codec that is used by this wrapper.
|
|
void | set_cfg (const protobuf::DCCLConfig &cfg) |
|
void | merge_cfg (const protobuf::DCCLConfig &cfg) |
|
void | load_shared_library_codecs (void *dl_handle) |
|
template<typename ProtobufMessage > |
void | validate () |
|
template<typename ProtobufMessage > |
void | info (std::ostream *os) const |
|
void | info_all (std::ostream *os) const |
|
template<typename ProtobufMessage > |
unsigned | id () const |
|
unsigned | size (const google::protobuf::Message &msg) |
|
void | encode (std::string *bytes, const google::protobuf::Message &msg, bool header_only=false) |
|
void | decode (const std::string &bytes, google::protobuf::Message *msg, bool header_only=false) |
|
unsigned | id_from_encoded (const std::string &bytes) |
|
void | validate (const google::protobuf::Descriptor *desc) |
|
void | validate_repeated (const std::list< const google::protobuf::Descriptor * > &descs) |
|
void | info (const google::protobuf::Descriptor *desc, std::ostream *os) const |
|
void | info_repeated (const std::list< const google::protobuf::Descriptor * > &desc, std::ostream *os) const |
|
unsigned | id (const google::protobuf::Descriptor *desc) const |
|
template<typename GoogleProtobufMessagePointer > |
unsigned | size_repeated (const std::list< GoogleProtobufMessagePointer > &msgs) |
|
template<typename GoogleProtobufMessagePointer > |
GoogleProtobufMessagePointer | decode (const std::string &bytes, bool header_only=false) |
|
template<typename GoogleProtobufMessagePointer > |
std::string | encode_repeated (const std::list< GoogleProtobufMessagePointer > &msgs) |
|
template<typename GoogleProtobufMessagePointer > |
std::list< GoogleProtobufMessagePointer > | decode_repeated (const std::string &orig_bytes) |
|
template<typename DCCLTypedFieldCodecUint32 > |
void | add_id_codec (const std::string &identifier) |
|
void | set_id_codec (const std::string &identifier) |
|
void | reset_id_codec () |
|
- Examples:
- acomms/chat/chat.cpp.
Definition at line 120 of file dccl.h.