Qpid Proton C++ 0.40.0
Loading...
Searching...
No Matches
scalar.hpp

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

namespace  proton
 The main Proton namespace.

Functions

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

Detailed Description

A holder for an instance of any scalar AMQP type.