OSSIA
Open Scenario System for Interactive Application
|
Implementation of the JSON serialisation mechanism for oscquery. More...
Implementation of the JSON serialisation mechanism for oscquery.
Public Types | |
using | writer_t = ossia::json_writer |
Public Member Functions | |
void | writeKey (std::string_view k) const |
void | writeValue (const ossia::value &val, const ossia::unit_t &unit) const |
void | writeValue (ossia::bounding_mode b) const |
void | writeValue (ossia::access_mode b) const |
void | writeValue (const ossia::domain &d) const |
void | writeValue (const ossia::unit_t &d) const |
void | writeValue (const ossia::net::tags &tags) const |
void | writeValue (int32_t i) const |
void | writeValue (float i) const |
void | writeValue (double i) const |
void | writeValue (bool i) const |
void | writeValue (std::string_view i) const |
void | writeValue (const ossia::repetition_filter &i) const |
void | writeValue (const ossia::net::instance_bounds &i) const |
template<typename T , typename... Args> | |
void | writeValue (const std::optional< T > &t, Args &&... args) const |
void | writeAttribute (const ossia::net::node_base &n, std::string_view method) const |
Writes a single attribute. | |
void | writeNodeAttributes (const ossia::net::node_base &n) const |
Writes only the attributes. | |
void | writeNode (const ossia::net::node_base &n) |
Writes a node recursively. Creates a new object. | |
Public Attributes | |
writer_t & | writer |