2 #include <ossia/detail/json.hpp>
4 namespace ossia::oscquery::detail
9 using writer_t = ossia::json_writer;
12 void writeKey(std::string_view k)
const;
20 void writeValue(int32_t i)
const;
21 void writeValue(
float i)
const;
22 void writeValue(
double i)
const;
23 void writeValue(
bool i)
const;
24 void writeValue(
const std::string& i)
const;
28 template <
typename T,
typename... Args>
29 void writeValue(
const std::optional<T>& t, Args&&... args)
const
33 writeValue(*t, std::forward<Args>(args)...);
The node_base class.
Definition: network/base/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:8
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