.TH "KJS::ValueImp" 3 "28 Jan 2004" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::ValueImp \- \fBValueImp\fP is the base type for all primitives (\fBUndefined\fP, \fBNull\fP, \fBBoolean\fP, \fBString\fP, \fBNumber\fP) and objects in ECMAScript.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <value.h>\fP
.PP
Inherited by KJS::BooleanImp, KJS::CompletionImp, KJS::ListImp, KJS::NullImp, KJS::NumberImp, KJS::ObjectImp, KJS::ReferenceImp, KJS::StringImp, and KJS::UndefinedImp.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBValueImp\fP * \fBref\fP ()"
.br
.ti -1c
.RI "bool \fBderef\fP ()"
.br
.ti -1c
.RI "virtual void \fBmark\fP ()"
.br
.ti -1c
.RI "bool \fBmarked\fP () const "
.br
.ti -1c
.RI "void * \fBoperator new\fP (size_t)"
.br
.ti -1c
.RI "void \fBoperator delete\fP (void *)"
.br
.ti -1c
.RI "void \fBsetGcAllowed\fP ()"
.br
.ti -1c
.RI "void \fBinlinedSetGcAllowed\fP ()"
.br
.ti -1c
.RI "virtual Type \fBtype\fP () const =0"
.br
.ti -1c
.RI "virtual \fBValue\fP \fBtoPrimitive\fP (\fBExecState\fP *exec, Type preferredType=UnspecifiedType) const =0"
.br
.ti -1c
.RI "virtual bool \fBtoBoolean\fP (\fBExecState\fP *exec) const =0"
.br
.ti -1c
.RI "virtual double \fBtoNumber\fP (\fBExecState\fP *exec) const =0"
.br
.ti -1c
.RI "virtual int \fBtoInteger\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual int \fBtoInt32\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual unsigned int \fBtoUInt32\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual unsigned short \fBtoUInt16\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual \fBUString\fP \fBtoString\fP (\fBExecState\fP *exec) const =0"
.br
.ti -1c
.RI "virtual \fBObject\fP \fBtoObject\fP (\fBExecState\fP *exec) const =0"
.br
.ti -1c
.RI "virtual \fBValue\fP \fBgetBase\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual \fBUString\fP \fBgetPropertyName\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual \fBValue\fP \fBgetValue\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "virtual void \fBputValue\fP (\fBExecState\fP *exec, const  \fBValue\fP w)"
.br
.in -1c
.SS "Public Attributes"

.in +1c
.ti -1c
.RI "unsigned int \fBrefcount\fP"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBCollector\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBValueImp\fP is the base type for all primitives (\fBUndefined\fP, \fBNull\fP, \fBBoolean\fP, \fBString\fP, \fBNumber\fP) and objects in ECMAScript. 

Note: you should never inherit from \fBValueImp\fP as it is for primitive types only (all of which are provided internally by KJS). Instead, inherit from ObjectImp. 
.PP
Definition at line 83 of file value.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kjs Library from the source code.
