Qpid Proton C++  0.12.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
annotation_key Class Reference

A key for use with AMQP annotation maps. More...

#include <annotation_key.hpp>

Inherits restricted_scalar.

Public Member Functions

 annotation_key ()
 Create an empty key.
 
template<class T >
 annotation_key (T x)
 A constructor that converts from any type that we can assign from. More...
 
template<class T >
get () const
 Return the value as type T.
 
Assignment operators

Assign a C++ value, deducing the AMQP type().

annotation_keyoperator= (uint64_t x)
 
annotation_keyoperator= (const amqp_symbol &x)
 
annotation_keyoperator= (const std::string &x)
 std::string is encoded as proton::amqp::amqp_symbol.
 
annotation_keyoperator= (const char *x)
 char* is encoded as proton::amqp::amqp_symbol.
 
Get methods
void get (uint64_t &x) const
 
void get (amqp_symbol &x) const
 

Detailed Description

A key for use with AMQP annotation maps.

An annotation_key can contain either a uint64_t or a proton::amqp::amqp_symbol.

Constructor & Destructor Documentation

annotation_key ( x)
inline

A constructor that converts from any type that we can assign from.


The documentation for this class was generated from the following file: