Gets a method object (JSAPI object that has a default method) Often it is preferable with the plugins to have the API return a JSAPI object as a property and then call the default method on that object. This looks the same in javascript, except that you can save the function object if you want to. See FB::JSFunction for an example of how to make a function object
Reimplemented from FB::JSAPI. Definition at line 363 of file JSAPIAuto.cpp. 370 MethodObjectMap::const_iterator fnd = m_methodObjectMap.find(boost::make_tuple(methodObjName, getZone()));
374 FB::JSFunctionPtr ptr(boost::make_shared<FB::JSFunction>(shared_from_this(), methodObjName, getZone()));
virtual bool HasMethod(const std::string &methodName) const Query if the JSAPI object has the 'methodName' method. Definition: JSAPIAuto.cpp:146 |
Generated on Fri Dec 15 2017 16:00:05 for FireBreath by
