|
Astarte device API for C++ 0.8.1
Astarte device SDK for C++
|
Ownership definitions for communication with Astarte. More...
#include <cstdint>#include <ostream>#include <string>#include "astarte_device_sdk/errors.hpp"#include "astarte_device_sdk/formatter.hpp"Go to the source code of this file.
Classes | |
| struct | astarte_fmt::formatter< astarte::device::Ownership > |
| astarte_fmt::formatter specialization for astarte::device::Ownership. More... | |
Namespaces | |
| namespace | astarte |
| Global namespace for all Astarte related functionality. | |
| namespace | astarte::device |
| Umbrella namespace for the Astarte device library. | |
Enumerations | |
| enum | astarte::device::Ownership : int8_t { astarte::device::kDevice , astarte::device::kServer } |
| Possible Astarte ownership. More... | |
Functions | |
| auto | astarte::device::ownership_from_str (const std::string &ownership) -> astarte_tl::expected< Ownership, Error > |
| Converts a string to an Ownership enum. | |
| auto | operator<< (std::ostream &out, const astarte::device::Ownership ownership) -> std::ostream & |
| Stream insertion operator for Ownership. | |
Ownership definitions for communication with Astarte.
|
inline |
Stream insertion operator for Ownership.
| [in,out] | out | The output stream. |
| [in] | ownership | The Ownership enum to output. |