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

Public Types | |
| enum | ProxyType { UnknownProxy, ObjectProxy, ValueProxy, OpaqueProxy } |
Public Member Functions | |
| JSProxy (int type) | |
| virtual | ~JSProxy () |
| int | proxyType () const |
| bool | isObjectProxy () const |
| bool | isValueProxy () const |
| bool | isOpaqueProxy () const |
| JSObjectProxy * | toObjectProxy () |
| JSValueProxy * | toValueProxy () |
| JSOpaqueProxy * | toOpaqueProxy () |
| void * | toVoidStar () |
| bool | inherits (const char *clazz) |
Static Public Member Functions | |
| 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 the content of this proxy inherits the specified base-class.
Reimplemented in KJSEmbed::JSObjectProxy, and KJSEmbed::JSOpaqueProxy. |
|
|
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.
|
|
|
Returns the contents of this proxy as a void * pointer. This method should be virtual, but is not for b/c. Reimplemented in KJSEmbed::JSObjectProxy, and KJSEmbed::JSOpaqueProxy. |
1.3.2