Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Jsonipc wrapper type for objects that support field-wise serialization to/from JSON. More...
#include "jsonipc.hh"
Public Member Functions | |
Serializable () | |
Allow object handles to be streamed to/from Javascript, needs a Scope for temporaries. | |
template<typename A , REQUIRES< std::is_member_object_pointer< A >::value > = true> | |
Serializable & | set (const char *name, A attribute) |
Add a member object pointer. | |
Static Public Member Functions | |
static bool | is_serializable () |
static JsonValue | serialize_to_json (const T &o, JsonAllocator &a) |
static std::shared_ptr< T > | serialize_from_json (const JsonValue &value, const std::shared_ptr< T > &p=0) |
Jsonipc wrapper type for objects that support field-wise serialization to/from JSON.
Definition at line 1185 of file jsonipc.hh.
Jsonipc::Serializable< T >::Serializable | ( | ) |
Allow object handles to be streamed to/from Javascript, needs a Scope for temporaries.
Definition at line 1187 of file jsonipc.hh.
|
static |
Definition at line 1211 of file jsonipc.hh.
|
static |
Definition at line 1213 of file jsonipc.hh.
|
static |
Definition at line 1212 of file jsonipc.hh.
Serializable & Jsonipc::Serializable< T >::set | ( | const char * | name, |
A | attribute | ||
) |
Add a member object pointer.
Definition at line 1195 of file jsonipc.hh.