class ValueImp

ValueImp is the base type for all primitives (Undefined, Null, Boolean, String, Number) and objects in ECMAScript. More...

Contains pure virtuals
Full nameKJS::ValueImp
Definition#include <value.h>
Inherited byObjectImp
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


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

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: dfaure on faure on Tue Apr 16 08:50:27 2002, using kdoc 2.0a53.