Typedefs | |
using | Closure = std::function< void(CallbackInfo &)> |
using | DefaultConstantVariant = std::variant< std::monostate, std::nullptr_t, uint64_t, int64_t, double, std::string > |
using | DefaultsList = std::initializer_list< DefaultConstant > |
using | JsonAllocator = rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > |
using | JsonValue = rapidjson::GenericValue< rapidjson::UTF8< char >, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > |
template<bool value> | |
using | REQUIRES = typename ::std::enable_if< value, bool >::type |
template<bool value> | |
using | REQUIRESv = typename ::std::enable_if< value, void >::type |
using | ScopeLocals = std::vector< std::shared_ptr< void > > |
using | ScopeLocalsP = std::shared_ptr< ScopeLocals > |
using | SharedBase = JsonipcSharedBase |
using | StringBufferWriter = rapidjson::Writer< rapidjson::StringBuffer, rapidjson::UTF8<>, rapidjson::UTF8<>, rapidjson::CrtAllocator, rapidjson::kWriteNanAndInfNullFlag > |
Functions | |
std::string | normalize_typename (const std::string &string) |
std::string | short_name (const std::string &full_name) |
template<> | |
JsonValue | to_json< const char * > (const char *const &value, JsonAllocator &allocator) |
template<typename... Args> | |
std::string | typescript_arg_list () |
template<typename... Args> | |
std::string | typescript_arg_names_list () |
template<typename T , typename Ret , typename... Args> | |
std::string | typescript_call (const std::string &method_name, Ret(T::*func)(Args...)) |
template<typename C , typename R , typename... Args> | |
std::string | typescript_call_impl (const std::string &method_name) |
Variables | |
BindingPrinter * | g_binding_printer |
using SharedBase = JsonipcSharedBase |
using JsonValue = rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > |
using JsonAllocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> |
using StringBufferWriter = rapidjson::Writer<rapidjson::StringBuffer, rapidjson::UTF8<>, rapidjson::UTF8<>, rapidjson::CrtAllocator, rapidjson::kWriteNanAndInfNullFlag> |
using REQUIRES = typename ::std::enable_if<value, bool>::type |
REQUIRES<value> - Simplified version of std::enable_if<cond,bool>::type to use SFINAE in function templates.
using REQUIRESv = typename ::std::enable_if<value, void>::type |
REQUIRESv<value> - Simplified version of std::enable_if<cond,void>::type to use SFINAE in struct templates.
using ScopeLocals = std::vector<std::shared_ptr<void> > |
using ScopeLocalsP = std::shared_ptr<ScopeLocals> |
using Closure = std::function<void (CallbackInfo&)> |
using DefaultConstantVariant = std::variant<std::monostate, std::nullptr_t, uint64_t, int64_t, double, std::string> |
using DefaultsList = std::initializer_list<DefaultConstant> |
JsonValue to_json< const char * > | ( | const char *const & | value, |
JsonAllocator & | allocator | ||
) |
Convert C++ value to JsonValue.
std::string normalize_typename | ( | const std::string & | string | ) |
Yield the Javascript identifier name by substituting ':+' with '.'.
std::string short_name | ( | const std::string & | full_name | ) |
std::string typescript_arg_list | ( | ) |
std::string typescript_arg_names_list | ( | ) |
std::string typescript_call_impl | ( | const std::string & | method_name | ) |
std::string typescript_call | ( | const std::string & | method_name, |
Ret(T::*)(Args...) | func | ||
) |
BindingPrinter* g_binding_printer |