|
Astarte device API for C++ 0.8.1
Astarte device SDK for C++
|
Representing the Astarte individual property data. More...
#include <property.hpp>
Public Member Functions | |
| PropertyIndividual (const std::optional< Data > &data) | |
| Constructor for the PropertyIndividual class. | |
| auto | get_value () const -> const std::optional< Data > & |
| Gets the value contained within the object. | |
| auto | operator== (const PropertyIndividual &other) const -> bool |
| Overloader for the comparison operator ==. | |
| auto | operator!= (const PropertyIndividual &other) const -> bool |
| Overloader for the comparison operator !=. | |
Representing the Astarte individual property data.
|
explicit |
Constructor for the PropertyIndividual class.
| [in] | data | The wrapped Astarte data type. |
|
nodiscard |
Gets the value contained within the object.
|
nodiscard |
Overloader for the comparison operator !=.
| [in] | other | The object to compare to. |
|
nodiscard |
Overloader for the comparison operator ==.
| [in] | other | The object to compare to. |