Paho C++  1.0
The Paho MQTT C++ Client Library
 All Classes Files Functions Variables Typedefs Friends
buffer_ref.h File Reference

Buffer reference type for the Paho MQTT C++ library. More...

#include "mqtt/types.h"
#include <iostream>
#include <cstring>

Go to the source code of this file.

Classes

class  mqtt::buffer_ref< T >
 A reference object for holding immutable data buffers, with cheap copy semantics and lifetime management. More...
 

Typedefs

using mqtt::string_ref = buffer_ref< char >
 A refernce to a text buffer.
 
using mqtt::binary_ref = buffer_ref< char >
 A reference to a binary buffer. More...
 

Functions

template<typename T >
std::ostream & mqtt::operator<< (std::ostream &os, const buffer_ref< T > &buf)
 Stream inserter for a buffer reference. More...
 

Detailed Description

Buffer reference type for the Paho MQTT C++ library.

Date
April 18, 2017
Author
Frank Pagliughi