Skip to end of metadata
Go to start of metadata

bool FB::JSAPIProxy::HasProperty ( int  idx  )  const [virtual]

Query if the property at "idx" exists.

This can be used for providing array-style access on your object. For example, the following will result in a call to HasProperty with idx = 12:

       document.getElementById("plugin")[12];
Parameters:
idx Zero-based index of the property to check for
Returns:
true if property exists, false if not.

Implements FB::JSAPI.

Definition at line 177 of file JSAPIProxy.cpp.

References FB::JSAPIImpl::getZone().

00178 {
00179     FB::scoped_zonelock _l(getAPI(), getZone());
00180     return getAPI()->HasProperty(idx);
00181 }

Here is the call graph for this function:


Generated on 25 May 2013 for FireBreath by  doxygen 1.6.1
Labels
  • None