Skip to end of metadata
Go to start of metadata

FB::Npapi::NPObjectAPI Class Reference

Provides a FB::JSObject implementation that wraps a NPObject*. More...

#include <NPObjectAPI.h>

Inheritance diagram for FB::Npapi::NPObjectAPI:
Inheritance graph
Collaboration diagram for FB::Npapi::NPObjectAPI:
Collaboration graph

List of all members.

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  doxygen 1.6.1
Labels
  • None