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

Astarte stored property class. More...

#include <cstdint>
#include <ostream>
#include <string>
#include <string_view>
#include "astarte_device_sdk/data.hpp"
#include "astarte_device_sdk/formatter.hpp"
#include "astarte_device_sdk/ownership.hpp"

Go to the source code of this file.

Classes

class  astarte::device::StoredProperty
 Represents a stored property on the device. More...
 
struct  astarte_fmt::formatter< astarte::device::StoredProperty >
 astarte_fmt::formatter specialization for astarte::device::StoredProperty. 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::StoredProperty &prop) -> std::ostream &
 Stream insertion operator for StoredProperty.
 

Detailed Description

Astarte stored property class.

This file defines the StoredProperty class, which acts as a container for a property's value and its associated metadata (interface name, path, version, ownership).

Function Documentation

◆ operator<<()

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

Stream insertion operator for StoredProperty.

Parameters
[in,out]outThe output stream.
[in]propThe StoredProperty object to output.
Returns
A reference to the output stream.