Astarte device API for C++ 0.8.1
Astarte device SDK for C++
Loading...
Searching...
No Matches
AstarteDeviceSdk::AstarteDatastreamIndividual Class Reference

Representing the Astarte individual datastream data. More...

#include <individual.hpp>

Public Member Functions

 AstarteDatastreamIndividual (AstarteData data)
 Constructor for the AstarteDatastreamIndividual class.
 
auto get_value () const -> const AstarteData &
 Get the value contained within the object.
 
auto operator== (const AstarteDatastreamIndividual &other) const -> bool
 Overloader for the comparison operator ==.
 
auto operator!= (const AstarteDatastreamIndividual &other) const -> bool
 Overloader for the comparison operator !=.
 

Detailed Description

Representing the Astarte individual datastream data.

Constructor & Destructor Documentation

◆ AstarteDatastreamIndividual()

AstarteDeviceSdk::AstarteDatastreamIndividual::AstarteDatastreamIndividual ( AstarteData data)
explicit

Constructor for the AstarteDatastreamIndividual class.

Parameters
dataThe wrapped Astarte data type.

Member Function Documentation

◆ get_value()

auto AstarteDeviceSdk::AstarteDatastreamIndividual::get_value ( ) const -> const AstarteData &
nodiscard

Get the value contained within the object.

Returns
A constant reference to the data.

◆ operator!=()

auto AstarteDeviceSdk::AstarteDatastreamIndividual::operator!= ( const AstarteDatastreamIndividual & other) const -> bool
nodiscard

Overloader for the comparison operator !=.

Parameters
otherThe object to compare to.
Returns
True when different, false otherwise.

◆ operator==()

auto AstarteDeviceSdk::AstarteDatastreamIndividual::operator== ( const AstarteDatastreamIndividual & other) const -> bool
nodiscard

Overloader for the comparison operator ==.

Parameters
otherThe object to compare to.
Returns
True when equal, false otherwise.

The documentation for this class was generated from the following file: