FB::Npapi::NPObjectAPI Class Reference
Provides a FB::JSObject implementation that wraps a NPObject*. More...
#include <NPObjectAPI.h>
Inheritance diagram for FB::Npapi::NPObjectAPI:

Collaboration diagram for FB::Npapi::NPObjectAPI:

Public Member Functions | |
| void | getMemberNames (std::vector< std::string > &nameVector) const |
| Called by the browser to enumerate the members of this JSAPI object. | |
| size_t | getMemberCount () const |
| Gets the member count. | |
| virtual JSAPIPtr | getJSAPI () const |
| Get associated FB::JSAPI. | |
| void | invalidate () |
| Invalidates this object. | |
| bool | HasMethod (const std::string &methodName) const |
| Query if the JSAPI object has the 'methodName' method. | |
| bool | HasProperty (const std::string &propertyName) const |
| Query if 'propertyName' is a valid property. | |
| bool | HasProperty (int idx) const |
| Query if the property at "idx" exists. | |
| variant | GetProperty (const std::string &propertyName) |
| Gets a property value. | |
| void | SetProperty (const std::string &propertyName, const variant &value) |
| Sets the value of a property. | |
| void | RemoveProperty (const std::string &propertyName) |
| Removes a property. | |
| variant | GetProperty (int idx) |
| Gets the value of an indexed property. | |
| void | SetProperty (int idx, const variant &value) |
| Sets the value of an indexed property. | |
| void | RemoveProperty (int idx) |
| Removes an indexed property. | |
| variant | Invoke (const std::string &methodName, const std::vector< variant > &args) |
| Called by the browser to invoke a method on the JSAPI object. | |
| variant | Construct (const std::vector< variant > &args) |
| Called by the browser to construct the JSAPI object. | |
Detailed Description
Provides a FB::JSObject implementation that wraps a NPObject*.
Definition at line 32 of file NPObjectAPI.h.
The documentation for this class was generated from the following files:
Generated on 18 Jun 2013 for FireBreath by
1.6.1
Labels
Page: class FB Npapi NPObjectAPI Members
Page: class FB Npapi NPObjectAPI getMemberNames
Page: class FB Npapi NPObjectAPI getMemberCount
Page: class FB Npapi NPObjectAPI SetProperty
Page: class FB Npapi NPObjectAPI HasProperty (2)
Page: class FB Npapi NPObjectAPI RemoveProperty (2)
Page: class FB Npapi NPObjectAPI RemoveProperty
Page: class FB Npapi NPObjectAPI GetProperty (2)
Page: class FB Npapi NPObjectAPI SetProperty (2)
Page: class FB Npapi NPObjectAPI Construct
Page: class FB Npapi NPObjectAPI HasMethod
Page: class FB Npapi NPObjectAPI invalidate
Page: class FB Npapi NPObjectAPI GetProperty
Page: class FB Npapi NPObjectAPI Invoke
Page: class FB Npapi NPObjectAPI HasProperty
Page: class FB Npapi NPObjectAPI getJSAPI
