2#include <ossia/detail/json.hpp> 
    5namespace ossia::oscquery::detail
 
   10  using writer_t = ossia::json_writer;
 
   13  void writeKey(std::string_view k) 
const;
 
   21  void writeValue(int32_t i) 
const;
 
   22  void writeValue(
float i) 
const;
 
   23  void writeValue(
double i) 
const;
 
   24  void writeValue(
bool i) 
const;
 
   25  void writeValue(std::string_view i) 
const;
 
   29  template <
typename T, 
typename... Args>
 
   30  void writeValue(
const std::optional<T>& t, Args&&... args)
 const 
   34      writeValue(*t, std::forward<Args>(args)...);
 
 
The node_base class.
Definition node.hpp:48
The value class.
Definition value.hpp:173
repetition_filter
If enabled, sending twice the same value will only send it once by network.
Definition parameter_properties.hpp:70
bounding_mode
Address behaviors at crossing domain boundaries.
Definition parameter_properties.hpp:56
access_mode
Address behaviors at crossing domain boundaries time.
Definition parameter_properties.hpp:46
std::vector< std::string > tags
Tags applied to a node: {"model", "interesting", ...}.
Definition node_attributes.hpp:71
domain A domain of values
Definition domain_base.hpp:23
How many instances a node can have.
Definition node_attributes.hpp:36
Implementation of the JSON serialisation mechanism for oscquery.
Definition json_writer_detail.hpp:9
void writeAttribute(const ossia::net::node_base &n, std::string_view method) const
Writes a single attribute.
Definition json_writer_detail.cpp:206
void writeNode(const ossia::net::node_base &n)
Writes a node recursively. Creates a new object.
Definition json_writer_detail.cpp:327
void writeNodeAttributes(const ossia::net::node_base &n) const
Writes only the attributes.
Definition json_writer_detail.cpp:296
Definition dataspace.hpp:24