Qpid Proton C++ API 0.39.0
 
Loading...
Searching...
No Matches
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

namespace  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.