|
Anklang-0.3.0-1416-gfa8ce8d2 anklang-0.3.0-1416-gfa8ce8d2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Public Member Functions | |
| Class (bool internal=false) | |
| template<typename B > | |
| Class & | inherit () |
| template<typename F , REQUIRES< std::is_member_function_pointer< F >::value > = true> | |
| Class & | set (const char *name, const F &method) |
| Add a member function pointer. | |
| template<typename R , typename A , typename C , typename VB > | |
| Class & | set (const char *name, R(C::*get)() const, VB(C::*set)(A)) |
| Add a member object accessors. | |
| template<typename F , REQUIRES< std::is_member_function_pointer< F >::value > = true> | |
| Class & | set_d (const char *name, const F &method, const DefaultsList &dflts) |
Static Public Member Functions | |
| static std::string | classname () |
| static std::shared_ptr< T > | object_from_json (const JsonValue &value) |
| static size_t | base_depth () |
| static Closure * | lookup_closure (const char *methodname) |
| static std::vector< std::string > | list_methods () |
List the method names registered for T and its base classes, accessors as "get/name" and "set/name". | |
| static bool | try_upcast (std::shared_ptr< T > &sptr, const std::string &baseclass, void *sptrB) |
Definition at line 1295 of file jsonipc.hh.
| Jsonipc::Class< T >::Class | ( | bool | internal = false | ) |
Definition at line 1296 of file jsonipc.hh.
|
static |
Definition at line 1452 of file jsonipc.hh.
|
static |
Definition at line 1359 of file jsonipc.hh.
Definition at line 1320 of file jsonipc.hh.
|
static |
List the method names registered for T and its base classes, accessors as "get/name" and "set/name".
Definition at line 1482 of file jsonipc.hh.
References std::sort(), and std::unique().
|
static |
Definition at line 1465 of file jsonipc.hh.
|
static |
Definition at line 1364 of file jsonipc.hh.
| Class & Jsonipc::Class< T >::set | ( | const char * | name, |
| const F & | method | ||
| ) |
Add a member function pointer.
Definition at line 1329 of file jsonipc.hh.
Referenced by Jsonipc::Class< T >::set().
| Class & Jsonipc::Class< T >::set | ( | const char * | name, |
| R(C::*)() const | get, | ||
| VB(C::*)(A) | set | ||
| ) |
Add a member object accessors.
Definition at line 1338 of file jsonipc.hh.
References Jsonipc::Class< T >::set().
| Class & Jsonipc::Class< T >::set_d | ( | const char * | name, |
| const F & | method, | ||
| const DefaultsList & | dflts | ||
| ) |
Definition at line 1349 of file jsonipc.hh.
|
static |
Definition at line 1495 of file jsonipc.hh.