Astarte device API for C++ 0.8.1
Astarte device SDK for C++
Loading...
Searching...
No Matches
individual.hpp File Reference

Astarte individual datastream class and its related methods. More...

#include <ostream>
#include "astarte_device_sdk/data.hpp"
#include "astarte_device_sdk/formatter.hpp"

Go to the source code of this file.

Classes

class  astarte::device::DatastreamIndividual
 Represents the Astarte individual datastream data. More...
 
struct  astarte_fmt::formatter< astarte::device::DatastreamIndividual >
 astarte_fmt::formatter specialization for astarte::device::DatastreamIndividual. More...
 

Namespaces

namespace  astarte
 Global namespace for all Astarte related functionality.
 
namespace  astarte::device
 Umbrella namespace for the Astarte device library.
 

Functions

auto operator<< (std::ostream &out, const astarte::device::DatastreamIndividual &data) -> std::ostream &
 Stream insertion operator for DatastreamIndividual.
 

Detailed Description

Astarte individual datastream class and its related methods.

This file defines the container for individual datastream data used within the Astarte device library to encapsulate single data points.

Function Documentation

◆ operator<<()

auto operator<< ( std::ostream & out,
const astarte::device::DatastreamIndividual & data ) -> std::ostream&
inline

Stream insertion operator for DatastreamIndividual.

Parameters
[in,out]outThe output stream.
[in]dataThe DatastreamIndividual object to output.
Returns
A reference to the output stream.