Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Context for calling C++ functions from Json. More...
#include "jsonipc.hh"
Public Member Functions | |
CallbackInfo (const JsonValue &args, JsonAllocator *allocator=nullptr) | |
const JsonValue & | ntharg (size_t index) const |
size_t | n_args () const |
Closure * | find_closure (const char *methodname) |
std::string | classname (const std::string &fallback) const |
JsonAllocator & | allocator () |
void | set_result (JsonValue &result) |
JsonValue & | get_result () |
bool | have_result () const |
rapidjson::Document & | document () |
Context for calling C++ functions from Json.
Definition at line 450 of file jsonipc.hh.
|
explicit |
Definition at line 451 of file jsonipc.hh.
JsonAllocator & Jsonipc::CallbackInfo::allocator | ( | ) |
Definition at line 458 of file jsonipc.hh.
std::string Jsonipc::CallbackInfo::classname | ( | const std::string & | fallback | ) | const |
Definition at line 780 of file jsonipc.hh.
rapidjson::Document & Jsonipc::CallbackInfo::document | ( | ) |
Definition at line 462 of file jsonipc.hh.
Definition at line 772 of file jsonipc.hh.
JsonValue & Jsonipc::CallbackInfo::get_result | ( | ) |
Definition at line 460 of file jsonipc.hh.
bool Jsonipc::CallbackInfo::have_result | ( | ) | const |
Definition at line 461 of file jsonipc.hh.
size_t Jsonipc::CallbackInfo::n_args | ( | ) | const |
Definition at line 455 of file jsonipc.hh.
const JsonValue & Jsonipc::CallbackInfo::ntharg | ( | size_t | index | ) | const |
Definition at line 454 of file jsonipc.hh.
void Jsonipc::CallbackInfo::set_result | ( | JsonValue & | result | ) |
Definition at line 459 of file jsonipc.hh.