Qpid Proton C++ API 0.40.0
 
Loading...
Searching...
No Matches
list.hpp File Reference

Unsettled API - Enable conversions between proton::value and std::list. More...

#include "./encoder.hpp"
#include "./decoder.hpp"
#include <list>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  proton
 The main Proton namespace.
 
namespace  proton::codec
 Unsettled API - AMQP data encoding and decoding.
 

Functions

template<class T , class A >
encoderoperator<< (encoder &e, const std::list< T, A > &x)
 std::list<T> for most T is encoded as an AMQP array.
 
template<class A >
encoderoperator<< (encoder &e, const std::list< value, A > &x)
 Specialize for std::list<value>, encode as AMQP list (variable type)
 
template<class A >
encoderoperator<< (encoder &e, const std::list< scalar, A > &x)
 Specialize for std::list<scalar>, encode as AMQP list (variable type)
 
template<class A , class K , class T >
encoderoperator<< (encoder &e, const std::list< std::pair< K, T >, A > &x)
 Specialize for std::list<std::pair<k,t> >, encode as AMQP map.
 
template<class T , class A >
decoderoperator>> (decoder &d, std::list< T, A > &x)
 Decode to std::list<T> from an amqp::LIST or amqp::ARRAY.
 
template<class A , class K , class T >
decoderoperator>> (decoder &d, std::list< std::pair< K, T >, A > &x)
 Decode to std::list<std::pair<K, T> from an amqp::MAP.
 

Detailed Description

Unsettled API - Enable conversions between proton::value and std::list.