class ValueImp
|
ValueImp is the base type for all primitives (Undefined, Null, Boolean,
String, Number) and objects in ECMAScript. More... |
|
|
Public Methods
- ValueImp ()
- virtual ~ValueImp ()
- inline ValueImp* ref ()
- inline bool deref ()
- virtual void mark ()
- bool marked () const
- void* operator new (size_t)
- void operator delete (void*)
- void setGcAllowed ()
- virtual Type type () const
- virtual Value toPrimitive (ExecState *exec,
Type preferredType = UnspecifiedType) const
- virtual bool toBoolean (ExecState *exec) const
- virtual double toNumber (ExecState *exec) const
- virtual int toInteger (ExecState *exec) const
- virtual int toInt32 (ExecState *exec) const
- virtual unsigned int toUInt32 (ExecState *exec) const
- virtual unsigned short toUInt16 (ExecState *exec) const
- virtual UString toString (ExecState *exec) const
- virtual Object toObject (ExecState *exec) const
- virtual Value getBase (ExecState *exec) const
- virtual UString getPropertyName (ExecState *exec) const
- virtual Value getValue (ExecState *exec) const
- virtual void putValue (ExecState *exec, const Value w)
Public Members
ValueImp is the base type for all primitives (Undefined, Null, Boolean,
String, Number) and objects in ECMAScript.
Note: you should never inherit from ValueImp as it is for primitive types
only (all of which are provided internally by KJS). Instead, inherit from
ObjectImp.
[virtual]
inline ValueImp* ref ()
| ref |
inline bool deref ()
| deref |
unsigned int refcount
| refcount |
[virtual]
[const]
void* operator new (size_t)
| new |
void operator delete (void*)
| delete |
void setGcAllowed ()
| setGcAllowed |
set by Object() so that the collector is allowed to delete us
[const pure virtual]
Value toPrimitive (ExecState *exec,
Type preferredType = UnspecifiedType)
| toPrimitive |
[const pure virtual]
bool toBoolean (ExecState *exec)
| toBoolean |
[const pure virtual]
double toNumber (ExecState *exec)
| toNumber |
[const pure virtual]
int toInteger (ExecState *exec)
| toInteger |
[const virtual]
int toInt32 (ExecState *exec)
| toInt32 |
[const virtual]
unsigned int toUInt32 (ExecState *exec)
| toUInt32 |
[const virtual]
unsigned short toUInt16 (ExecState *exec)
| toUInt16 |
[const virtual]
UString toString (ExecState *exec)
| toString |
[const pure virtual]
Object toObject (ExecState *exec)
| toObject |
[const pure virtual]
Value getBase (ExecState *exec)
| getBase |
[const virtual]
UString getPropertyName (ExecState *exec)
| getPropertyName |
[const virtual]
Value getValue (ExecState *exec)
| getValue |
[const virtual]
void putValue (ExecState *exec, const Value w)
| putValue |
[virtual]
Generated by: dfaure on faure on Tue Apr 16 08:50:27 2002, using kdoc 2.0a53. |