Astarte device API for C++ 0.7.1
Astarte device SDK for C++
Loading...
Searching...
No Matches
individual.hpp
Go to the documentation of this file.
1// (C) Copyright 2025, SECO Mind Srl
2//
3// SPDX-License-Identifier: Apache-2.0
4
5#ifndef ASTARTE_DEVICE_SDK_INDIVIDUAL_H
6#define ASTARTE_DEVICE_SDK_INDIVIDUAL_H
7
12
14
15namespace AstarteDeviceSdk {
16
19 public:
29 [[nodiscard]] auto get_value() const -> const AstarteData&;
35 [[nodiscard]] auto operator==(const AstarteDatastreamIndividual& other) const -> bool;
41 [[nodiscard]] auto operator!=(const AstarteDatastreamIndividual& other) const -> bool;
42
43 private:
44 AstarteData data_;
45};
46
47} // namespace AstarteDeviceSdk
48
49#endif // ASTARTE_DEVICE_SDK_INDIVIDUAL_H
Astarte data class, representing the basic Astarte types.
Definition data.hpp:39
auto get_value() const -> const AstarteData &
Get the value contained within the object.
AstarteDatastreamIndividual(AstarteData data)
Constructor for the AstarteDatastreamIndividual class.
Astarte data class and its related methods.
Umbrella namespace for the Astarte device SDK.
Definition data.hpp:22