Qpid Proton C++ API 0.39.0
 
Loading...
Searching...
No Matches
deque.hpp File Reference

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

#include "./encoder.hpp"
#include "./decoder.hpp"
#include <deque>
#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 >
encoder & operator<< (encoder &e, const std::deque< T, A > &x)
 std::deque<T> for most T is encoded as an amqp::ARRAY (same type elements)
 
template<class A >
encoder & operator<< (encoder &e, const std::deque< value, A > &x)
 std::deque<value> encodes as codec::list_type (mixed type elements)
 
template<class A >
encoder & operator<< (encoder &e, const std::deque< scalar, A > &x)
 std::deque<scalar> encodes as codec::list_type (mixed type elements)
 
template<class A , class K , class T >
encoder & operator<< (encoder &e, const std::deque< std::pair< K, T >, A > &x)
 std::deque<std::pair<k,t> > encodes as codec::map_type. More...
 
template<class T , class A >
decoder & operator>> (decoder &d, std::deque< T, A > &x)
 Decode to std::deque<T> from an amqp::LIST or amqp::ARRAY.
 
template<class A , class K , class T >
decoder & operator>> (decoder &d, std::deque< std::pair< K, T >, A > &x)
 Decode to std::deque<std::pair<K, T> from an amqp::MAP.
 

Detailed Description

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