|
|
| |
Constructor.
| |
| |
Copy constructor.
| ~ |
[virtual]
Destructor.
| bool |
[const]
Returns: True if this object is null, i.e. if there is no data attached to this object. Don't confuse this with the Null object.
| bool |
[const]
Returns: True if this objects is of any other value than Undefined.
| Type |
[const]
Returns: the type of the object. One of the KJS::Type enums.
| bool |
[const]
Check whether object is of a certain type
Parameters:
| t | type to check for |
| bool |
[const]
Check whether object is of a certain type. Allows checking of host objects, too.
Parameters:
| type | name (Number, Boolean etc.) |
| bool |
[const]
Use this method when checking for objects. It's safer than checking for a single object type with isA().
| bool |
[const]
Examine the inheritance structure of this object.
Parameters:
| t | Name of the base class. |
Returns: True if object is of type t or a derived from such a type.
| KJSO |
[const]
Parameters:
| preferred | Optional hint. Either StringType or NumberType. |
Returns: Conversion to primitive type (Undefined, Boolean, Number or String)
| Boolean |
[const]
Returns: Conversion to Boolean type.
| Number |
[const]
Returns: Conversion to Number type.
| double |
[const]
Returns: Conversion to double. 0.0 if conversion failed.
| Number |
[const]
Returns: Conversion to Number type containing an integer value.
| int |
[const]
Returns: Conversion to signed integer value.
| unsigned int |
[const]
Returns: Conversion to unsigned integer value.
| unsigned short |
[const]
Returns: Conversion to unsigned short value.
| String |
[const]
Returns: Conversion to String type.
| Object |
[const]
Returns: Conversion to Object type.
| void |
Set the internal [[Prototype]] property of this object.
Parameters:
| p | A prototype object. |
| void |
Set the "prototype" property of this object. Different from the internal [[Prototype]] property.
Parameters:
| p | A prototype object. |
| KJSO |
[const]
Returns: The internal [[prototype]] property.
| KJSO |
[const]
The internal [[Get]] method.
Returns: The value of property p.
| bool |
[const]
The internal [[HasProperty]] method.
Parameters:
| p | Property name. |
| recursive | Indicates whether prototypes are searched as well. |
Returns: Boolean value indicating whether the object already has a member with the given name p.
| void |
The internal [[Put]] method. Sets the specified property to the value v.
Parameters:
| p | Property name. |
| v | Value. |
| bool |
[const]
The internal [[CanPut]] method.
Parameters:
| p | Property name. |
Returns: A boolean value indicating whether a [[Put]] operation with p succeed.
| bool |
The internal [[Delete]] method. Removes the specified property from the object.
Parameters:
| p | Property name. |
Returns: True if the property was deleted successfully or didn't exist in the first place. False if the DontDelete attribute was set.
| void |
Same as above put() method except the additional attribute. Right now, this only works with native types as Host Objects don't reimplement this method.
Parameters:
| attr | One of KJS::Attribute. |
| void |
Convenience function for adding a Number property constructed from a double value.
| void |
Convenience function for adding a Number property constructed from an integer value.
| void |
Convenience function for adding a Number property constructed from an unsigned integer value.
| KJSO |
[const]
Reference method.
Returns: Reference base if object is a reference. Throws a ReferenceError otherwise.
| UString |
[const]
Reference method.
Returns: Property name of a reference. Null string if object is not a reference.
| KJSO |
Reference method.
Returns: Referenced value. This object if no reference.
| ErrorType |
Reference method. Set referenced value to v.
| bool |
[const]
Returns: True if object supports executeCall() method. That's the case for all objects derived from FunctionType.
| KJSO |
Execute function implemented via the Function::execute() method.
Note: check availability via implementsCall() beforehand.
Parameters:
| thisV | Object serving as the 'this' value. |
| args | Pointer to the list of arguments or null. |
Returns: Result of the function call.
| void |
Set this object's constructor.
| Imp * |
[const]
Returns: A Pointer to the internal implementation.
| static int |
| Imp * |
[protected]
Pointer to the internal implementation.
| Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 06:15:46 2001, using kdoc 2.0a35. |