class ValueImp

# class ValueImp | ValueImp is the base type for all primitives (Undefined, Null, Boolean, String, Number) and objects in ECMAScript. More...
Contains pure virtuals
Full name | `KJS::ValueImp`
Definition | `#include <value.h>`
Inherited by | ObjectImp
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### 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 ()
- void inlinedSetGcAllowed ()
- 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

- unsigned int refcount

## Detailed Description

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.

ValueImp () | ### ValueImp

~ValueImp () | ### ~ValueImp

[virtual]

inline ValueImp* ref () | ### ref

inline bool deref () | ### deref

unsigned int refcount | ### refcount

void mark () | ### mark

[virtual]

bool marked () | ### marked

[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

void inlinedSetGcAllowed () | ### inlinedSetGcAllowed

Type type () | ### type

[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: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:28 2003, using kdoc 2.0a54.