.TH "KJS::Boolean" 3 "28 Jan 2004" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::Boolean \- Represents an primitive \fBNull\fP value.  

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

.in +1c
.ti -1c
.RI "\fBBoolean\fP (bool b=false)"
.br
.ti -1c
.RI "\fBBoolean\fP (const  \fBBoolean\fP &v)"
.br
.ti -1c
.RI "\fBBoolean\fP & \fBoperator=\fP (const  \fBBoolean\fP &v)"
.br
.ti -1c
.RI "bool \fBvalue\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "\fBBoolean\fP \fBdynamicCast\fP (const  \fBValue\fP &v)"
.br
.RI "\fIConverts a \fBValue\fP into an \fBBoolean\fP. \fP"
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBBooleanImp\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Represents an primitive \fBNull\fP value. Definition at line 337 of file value.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBBoolean\fP Boolean::dynamicCast (const \fBValue\fP & v)\fC [static]\fP"
.PP
Converts a \fBValue\fP into an \fBBoolean\fP. If the value's type is not BooleanType, a null object will be returned (i.e. one with it's internal pointer set to 0). If you do not know for sure whether the value is of type BooleanType, you should check the \fBisNull\fP() methods afterwards before calling any methods on the returned value.
.PP
\fBReturns:\fP
.RS 4
The value converted to a \fBBoolean\fP 
.RE
.PP
Definition at line 408 of file value.cpp.
.PP
References KJS::Value::imp(), KJS::Value::isNull(), and KJS::Value::type().

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