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

Namespace of internal implementations. More...

Classes

class  FmtMsgpackObjectProxy
 Class to format objects in msgpack library using fmt library. More...
class  SharedObject
 Class to hold shared objects. More...
class  SharedObjectBuffer
 Class of buffers of shared objects. More...
class  SharedObjectMemoryPool
 Class of memory pools of shared objects. More...

Functions

template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, bool object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, const msgpack::object &object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, const msgpack::object_array &object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, const msgpack::object_bin &object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, const msgpack::object_ext &object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, const msgpack::object_map &object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, const msgpack::object_str &object)
 Format an object in msgpack library.
template<typename Iterator>
Iterator format_msgpack_object_impl (Iterator iterator, msgpack::type::nil_t)
 Format an object in msgpack library.
template<typename Iterator, typename T>
auto format_msgpack_object_impl (Iterator iterator, T object) -> std::enable_if_t< std::is_integral_v< T >||std::is_floating_point_v< T >, Iterator >
 Format an object in msgpack library.

Detailed Description

Namespace of internal implementations.

Function Documentation

◆ format_msgpack_object_impl() [1/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
bool object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 63 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [2/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
const msgpack::object & object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 213 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [3/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
const msgpack::object_array & object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 136 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [4/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
const msgpack::object_bin & object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 114 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [5/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
const msgpack::object_ext & object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 189 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [6/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
const msgpack::object_map & object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 161 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [7/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
const msgpack::object_str & object )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 94 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [8/9]

template<typename Iterator>
Iterator msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
msgpack::type::nil_t  )
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
Returns
Output iterator after formatting the object.

Definition at line 49 of file format_msgpack_object_to.h.

◆ format_msgpack_object_impl() [9/9]

template<typename Iterator, typename T>
auto msgpack_rpc::util::impl::format_msgpack_object_impl ( Iterator iterator,
T object ) -> std::enable_if_t<std::is_integral_v<T> || std::is_floating_point_v<T>, Iterator>
inline

Format an object in msgpack library.

Template Parameters
IteratorType of the output iterator of the formatted string.
Parameters
[out]iteratorOutput iterator of the formatted string.
[in]objectObject in msgpack library.
Returns
Output iterator after formatting the object.

Definition at line 79 of file format_msgpack_object_to.h.