cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
msgpack_rpc::util::impl::FmtMsgpackObjectProxy Class Reference

Class to format objects in msgpack library using fmt library. More...

#include <msgpack_rpc/util/format_msgpack_object.h>

Collaboration diagram for msgpack_rpc::util::impl::FmtMsgpackObjectProxy:

Public Member Functions

 FmtMsgpackObjectProxy (const msgpack::object &object)
 Constructor.
const msgpack::object & object () const noexcept
 Get the object in msgpack library.

Private Attributes

const msgpack::object & object_
 Object in msgpack library.

Detailed Description

Class to format objects in msgpack library using fmt library.

Definition at line 32 of file format_msgpack_object.h.

Constructor & Destructor Documentation

◆ FmtMsgpackObjectProxy()

msgpack_rpc::util::impl::FmtMsgpackObjectProxy::FmtMsgpackObjectProxy ( const msgpack::object & object)
explicit

Constructor.

Parameters
[in]objectObject in msgpack library.

Definition at line 26 of file format_msgpack_object.cpp.

Member Function Documentation

◆ object()

const msgpack::object & msgpack_rpc::util::impl::FmtMsgpackObjectProxy::object ( ) const
nodiscardnoexcept

Get the object in msgpack library.

Returns
Object in msgpack library.

Definition at line 29 of file format_msgpack_object.cpp.

Member Data Documentation

◆ object_

const msgpack::object& msgpack_rpc::util::impl::FmtMsgpackObjectProxy::object_
private

Object in msgpack library.

Definition at line 51 of file format_msgpack_object.h.


The documentation for this class was generated from the following files: