The base class for scalar types. More...
#include <scalar_base.hpp>
Public Member Functions | |
type_id | type () const |
AMQP type of data stored in the scalar. | |
bool | empty () const |
True if there is no value, i.e. type() == NULL_TYPE. | |
Friends | |
bool | operator< (const scalar_base &x, const scalar_base &y) |
Compare. | |
bool | operator== (const scalar_base &x, const scalar_base &y) |
Compare. | |
std::ostream & | operator<< (std::ostream &o, const scalar_base &x) |
Print the contained value. | |
The base class for scalar types.