.TH "KJS::ValueImp" kde3 "11 Jun 2005" "Version Version 3.4.1" "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::NullImp, KJS::NumberImp, KJS::ObjectImp, 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 \fBsetGcAllowedFast\fP ()"
.br
.ti -1c
.RI "int \fBtoInteger\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "int \fBtoInt32\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "unsigned int \fBtoUInt32\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "unsigned short \fBtoUInt16\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "Type \fBdispatchType\fP () const "
.br
.ti -1c
.RI "\fBValue\fP \fBdispatchToPrimitive\fP (\fBExecState\fP *exec, Type preferredType=UnspecifiedType) const "
.br
.ti -1c
.RI "bool \fBdispatchToBoolean\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "double \fBdispatchToNumber\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "\fBUString\fP \fBdispatchToString\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "bool \fBdispatchToUInt32\fP (unsigned &) const "
.br
.ti -1c
.RI "\fBObject\fP \fBdispatchToObject\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "bool \fBisDestroyed\fP () const "
.br
.in -1c
.SS "Public Attributes"

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

.in +1c
.ti -1c
.RI "class \fBCollector\fP"
.br
.ti -1c
.RI "class \fBValue\fP"
.br
.ti -1c
.RI "class \fBContextImp\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 80 of file value.h.

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