#include <jsproxy.h>
Inheritance diagram for KJSEmbed::JSProxy:

Public Types | |
| enum | ProxyType { UnknownProxy, ObjectProxy, ValueProxy, OpaqueProxy } |
Public Methods | |
| JSProxy (int type) | |
| virtual | ~JSProxy () |
| int | proxyType () const |
| bool | isObjectProxy () const |
| bool | isValueProxy () const |
| bool | isOpaqueProxy () const |
| JSObjectProxy * | toObjectProxy () |
| JSValueProxy * | toValueProxy () |
| JSOpaqueProxy * | toOpaqueProxy () |
Static Public Methods | |
| JSProxy * | toProxy (KJS::ValueImp *imp) |
| JSObjectProxy * | toObjectProxy (KJS::ValueImp *imp) |
| JSValueProxy * | toValueProxy (KJS::ValueImp *imp) |
| JSOpaqueProxy * | toOpaqueProxy (KJS::ValueImp *imp) |
|
|
Identifiers for the various types of proxy.
|
|
|
|
|
|
|
|
|
Returns true iff this is a JSObjectProxy.
|
|
|
Returns true iff this is a JSOpaqueProxy.
|
|
|
Returns true iff this is a JSValueProxy.
|
|
|
Returns the type of the proxy.
|
|
|
Converts the specified ValueImp to a JSObjectProxy if possible, if the ValueImp is not a JSObjectProxy then 0 is returned.
|
|
|
Returns this object as a JSObjectProxy or 0 if the type is wrong.
|
|
|
Converts the specified ValueImp to a JSOpaqueProxy if possible, if the ValueImp is not a JSOpaqueProxy then 0 is returned.
|
|
|
Returns this object as a JSOpaqueProxy or 0 if the type is wrong.
|
|
|
Converts the specified ValueImp to a JSProxy if possible, if the ValueImp is not a JSProxy then 0 is returned.
|
|
|
Converts the specified ValueImp to a JSValueProxy if possible, if the ValueImp is not a JSValueProxy then 0 is returned.
|
|
|
Returns this object as a JSValueProxy or 0 if the type is wrong.
|
1.2.18