MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / add

Method add

include/chaiscript/dispatchkit/dispatchkit.hpp:469–472  ·  view source on GitHub ↗

Add a new conversion for upcasting to a base class

Source from the content-addressed store, hash-verified

467
468 /// Add a new conversion for upcasting to a base class
469 void add(const Type_Conversion &d)
470 {
471 m_conversions.add_conversion(d);
472 }
473
474 /// Add a new named Proxy_Function to the system
475 void add(const Proxy_Function &f, const std::string &name)

Callers 15

libraryMethod · 0.45
add_classFunction · 0.45
json_wrapClass · 0.45
build_eval_systemMethod · 0.45
ChaiScript_BasicClass · 0.45
eval_internalMethod · 0.45
eval_internalMethod · 0.45
eval_internalMethod · 0.45
arrayFunction · 0.45
copy_constructorFunction · 0.45
basic_constructorsFunction · 0.45
construct_podFunction · 0.45

Calls 4

const_varFunction · 0.85
add_conversionMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected