1 #ifndef PROTON_ANNOTATION_KEY_HPP 2 #define PROTON_ANNOTATION_KEY_HPP 25 #include "./internal/scalar_base.hpp" 26 #include "./symbol.hpp" 35 using internal::scalar_base::type;
69 template<>
inline uint64_t get<uint64_t>(
const annotation_key& x) {
return internal::get<uint64_t>(x); }
84 #endif // PROTON_ANNOTATION_KEY_HPP An AMQP message.
Definition: message.hpp:51
A key for use with AMQP annotation maps.
Definition: annotation_key.hpp:33
annotation_key(const T &x)
Construct from any type that can be assigned.
Definition: annotation_key.hpp:41
A std::string that represents the AMQP symbol type.
Definition: symbol.hpp:30
T coerce(const annotation_key &x)
Get the binary value or throw conversion_error.
Definition: annotation_key.hpp:80
annotation_key()
An empty annotation key has a uint64_t == 0 value.
Definition: annotation_key.hpp:38
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28
Experimental - Stream-like decoder from AMQP bytes to C++ values.
Definition: decoder.hpp:51