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

Astarte object class and its related methods. More...

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

Go to the source code of this file.

Classes

class  astarte::device::DatastreamObject
 Astarte object class, representing the Astarte object datastream data. More...
 
struct  astarte_fmt::formatter< astarte::device::DatastreamObject >
 astarte_fmt::formatter specialization for astarte::device::DatastreamObject. 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::DatastreamObject &data) -> std::ostream &
 Stream insertion operator for DatastreamObject.
 

Detailed Description

Astarte object class and its related methods.

This file defines the container for aggregated object datastreams, allowing multiple Astarte data fields to be grouped and sent as a single coherent unit.

Function Documentation

◆ operator<<()

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

Stream insertion operator for DatastreamObject.

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