mqtt_cpp
Functions
property_util.hpp File Reference
#include <mqtt/config.hpp>
#include <mqtt/broker/broker_namespace.hpp>
#include <mqtt/optional.hpp>
#include <mqtt/property_variant.hpp>
#include <mqtt/visitor_util.hpp>
Include dependency graph for property_util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
MQTT_BROKER_NS_BEGIN optional< T > get_property (v5::properties const &props)
 
template<typename T >
void set_property (v5::properties &props, T &&v)
 

Function Documentation

◆ get_property()

template<typename T >
MQTT_BROKER_NS_BEGIN optional<T> get_property ( v5::properties const &  props)
inline

◆ set_property()

template<typename T >
void set_property ( v5::properties &  props,
T &&  v 
)
inline