Logo Search packages:      
Sourcecode: osb-jscore version File versions  Download package

KJS::Object Class Reference

#include <object.h>

Inheritance diagram for KJS::Object:


List of all members.

Detailed Description

Represents an Object. This is a wrapper for ObjectImp

Definition at line 89 of file object.h.

Public Member Functions

Value call (ExecState *exec, Object &thisObj, const List &args)
bool canPut (ExecState *exec, const Identifier &propertyName) const
const ClassInfoclassInfo () const
UString className () const
Object construct (ExecState *exec, const List &args)
Value defaultValue (ExecState *exec, Type hint) const
bool deleteProperty (ExecState *exec, unsigned propertyName)
bool deleteProperty (ExecState *exec, const Identifier &propertyName)
Value get (ExecState *exec, unsigned propertyName) const
Value get (ExecState *exec, const Identifier &propertyName) const
Boolean hasInstance (ExecState *exec, const Value &value)
bool hasProperty (ExecState *exec, unsigned propertyName) const
bool hasProperty (ExecState *exec, const Identifier &propertyName) const
ObjectImp * imp () const
bool implementsCall () const
bool implementsConstruct () const
bool implementsHasInstance () const
bool inherits (const ClassInfo *cinfo) const
Value internalValue () const
bool isA (Type t) const
bool isNull () const
 Object (ObjectImp *v)
ReferenceList propList (ExecState *exec, bool recursive=true)
Value prototype () const
void put (ExecState *exec, unsigned propertyName, const Value &value, int attr=None)
void put (ExecState *exec, const Identifier &propertyName, const Value &value, int attr=None)
void restoreProperties (const SavedProperties &p)
void saveProperties (SavedProperties &p) const
const ScopeChain & scope () const
void setInternalValue (const Value &v)
void setScope (const ScopeChain &s)
bool toBoolean (ExecState *exec) const
int32_t toInt32 (ExecState *exec) const
double toInteger (ExecState *exec) const
double toNumber (ExecState *exec) const
Object toObject (ExecState *exec) const
Value toPrimitive (ExecState *exec, Type preferredType=UnspecifiedType) const
UString toString (ExecState *exec) const
uint16_t toUInt16 (ExecState *exec) const
bool toUInt32 (uint32_t &i) const
uint32_t toUInt32 (ExecState *exec) const
Type type () const

Static Public Member Functions

static Object dynamicCast (const Value &v)

Protected Attributes


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index