A key for use with AMQP annotation maps. More...
#include "./scalar_base.hpp"
#include "./symbol.hpp"
#include <proton/type_compat.h>
Go to the source code of this file.
Classes | |
class | annotation_key |
A key for use with AMQP annotation maps. More... | |
Namespaces | |
namespace | proton |
The main Proton namespace. | |
Functions | |
template<class T > | |
T | get (const annotation_key &x) |
INTERNAL Primary template for get<T>(message_id), specialized for legal types. | |
template<> | |
uint64_t | get< uint64_t > (const annotation_key &x) |
Get the uint64_t value or throw conversion_error. | |
template<> | |
symbol | get< symbol > (const annotation_key &x) |
Get the symbol value or throw conversion_error. | |
template<class T > | |
T | coerce (const annotation_key &x) |
Get the binary value or throw conversion_error. |
A key for use with AMQP annotation maps.