.TH "KJS::Reference" kde3 "11 Jun 2005" "Version Version 3.4.1" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::Reference \- Defines a Javascript reference.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <reference.h>\fP
.PP
Inherits \fBKJS::Value\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBReference\fP (const \fBObject\fP &b, const \fBIdentifier\fP &p)"
.br
.ti -1c
.RI "\fBReference\fP (const \fBObject\fP &b, unsigned p)"
.br
.ti -1c
.RI "\fBReference\fP (ObjectImp *b, const \fBIdentifier\fP &p)"
.br
.ti -1c
.RI "\fBReference\fP (ObjectImp *b, unsigned p)"
.br
.ti -1c
.RI "\fBReference\fP (const \fBNull\fP &b, const \fBIdentifier\fP &p)"
.br
.ti -1c
.RI "\fBReference\fP (const \fBNull\fP &b, unsigned p)"
.br
.ti -1c
.RI "\fBValue\fP \fBgetBase\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "\fBIdentifier\fP \fBgetPropertyName\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "\fBValue\fP \fBgetValue\fP (\fBExecState\fP *exec) const "
.br
.ti -1c
.RI "void \fBputValue\fP (\fBExecState\fP *exec, const \fBValue\fP &w)"
.br
.ti -1c
.RI "bool \fBdeleteValue\fP (\fBExecState\fP *exec)"
.br
.ti -1c
.RI "bool \fBisMutable\fP ()"
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static \fBReference\fP \fBmakeValueReference\fP (const \fBValue\fP &v)"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBReferenceList\fP"
.br
.ti -1c
.RI "class \fBReferenceListIterator\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Defines a Javascript reference. 
.PP
Definition at line 35 of file reference.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBValue\fP Reference::getBase (\fBExecState\fP * exec) const"
.PP
Performs the GetBase type conversion operation on this value (ECMA 8.7). 
.PP
Since references are supposed to have an \fBObject\fP or null as their base, this method is guaranteed to return either Null() or an \fBObject\fP value. 
.PP
Definition at line 93 of file reference.cpp.
.PP
References KJS::Error::create().
.PP
Referenced by getValue(), and putValue().
.SS "\fBIdentifier\fP Reference::getPropertyName (\fBExecState\fP * exec) const"
.PP
Performs the GetPropertyName type conversion operation on this value (ECMA 8.7). 
.PP
Definition at line 104 of file reference.cpp.
.PP
References KJS::Identifier::isNull().
.PP
Referenced by getValue(), and putValue().
.SS "\fBValue\fP Reference::getValue (\fBExecState\fP * exec) const"
.PP
Performs the GetValue type conversion operation on this value (ECMA 8.7.1). 
.PP
Definition at line 118 of file reference.cpp.
.PP
References KJS::UString::ascii(), KJS::Error::create(), KJS::Object::get(), getBase(), getPropertyName(), KJS::Value::imp(), KJS::Value::isNull(), KJS::Value::type(), and KJS::Identifier::ustring().
.SS "void Reference::putValue (\fBExecState\fP * exec, const \fBValue\fP & w)"
.PP
Performs the PutValue type conversion operation on this value (ECMA 8.7.1). 
.PP
Definition at line 146 of file reference.cpp.
.PP
References KJS::Error::create(), getBase(), getPropertyName(), KJS::Value::imp(), and KJS::Value::type().

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