Qpid Proton C++ API  0.37.0
scalar.hpp File Reference

A holder for an instance of any scalar AMQP type. More...

#include "./scalar_base.hpp"
#include "proton/null.hpp"
#include <proton/type_compat.h>

Go to the source code of this file.

Classes

class  scalar
 A holder for an instance of any scalar AMQP type. More...
 

Namespaces

 proton
 The main Proton namespace.
 

Functions

template<class T >
get (const scalar &s)
 Get a contained value of type T. More...
 
template<class T >
coerce (const scalar &x)
 Coerce the contained value to type T. More...
 
template<class T >
coerce (scalar &x)
 Coerce the contained value to type T. More...
 

Detailed Description

A holder for an instance of any scalar AMQP type.