Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 6282078ae76a671f49c6af38c67b1a07 > files > 2098

kdelibs-devel-2.2.2-49.2mdk.i586.rpm

<HTML>
<HEAD>
<TITLE>namespace KJS</TITLE>

<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
	<TABLE BORDER="0">
		<TR><TD valign="top" align="left" cellspacing="10">
		<h1>namespace KJS</h1>
		</TD>
		<TD valign="top" align="right" colspan="1">Main namespace. <small><A HREF="#longdesc">More...</A></small></TD></TR>
	</TABLE>
	<HR>
	<TABLE BORDER="0">
		<TR><TH><A HREF="full-list-KJS.html">List of all Methods</A></TH></TR>
	</TABLE>
	</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Types</h4><ul><LI>class <A HREF="KJS__UString.html">UString</A>
</LI>
<LI>class <A HREF="KJS__Global.html">Global</A>
</LI>
<LI>class <A HREF="KJS__KJSO.html">KJSO</A>
</LI>
<LI>class <A HREF="KJS__Object.html">Object</A>
</LI>
<LI>class <A HREF="KJS__Imp.html">Imp</A>
</LI>
<LI>class <A HREF="KJS__List.html">List</A>
</LI>
<LI>enum <A HREF="#ref11">Type</A> {              AbstractType = 1,
              UndefinedType,
	      NullType,
	      BooleanType,
	      NumberType,
	      StringType,
	      ObjectType,
	      HostType,
	      ReferenceType,
              CompletionType,
	      FunctionType,
	      InternalFunctionType,
	      DeclaredFunctionType,
	      AnonymousFunctionType,
	      ConstructorType,
	      ActivationType
  }
</LI>
<LI>enum <A HREF="#ref12">Attribute</A> { None       = 0,
		   ReadOnly   = 1 << 1,
		   DontEnum   = 1 << 2,
		   DontDelete = 1 << 3,
		   Internal   = 1 << 4 }
</LI>
<LI>enum <A HREF="#ref13">Class</A> { UndefClass,
	       ArrayClass,
	       StringClass,
	       BooleanClass,
	       NumberClass,
	       ObjectClass,
	       DateClass,
	       RegExpClass,
	       ErrorClass,
	       FunctionClass }
</LI>
<LI>enum <A HREF="#ref14">Compl</A> { Normal, Break, Continue, ReturnValue, Throw }
</LI>
<LI>enum <A HREF="#ref15">ErrorType</A> { NoError = 0,
		   GeneralError,
		   EvalError,
		   RangeError,
		   ReferenceError,
		   SyntaxError,
		   TypeError,
		   URIError }
</LI>
<LI>class <A HREF="KJS__Boolean.html">Boolean</A>
</LI>
<LI>class <A HREF="KJS__Number.html">Number</A>
</LI>
<LI>class <A HREF="KJS__String.html">String</A>
</LI>
<LI>struct <A HREF="KJS__TypeInfo.html">TypeInfo</A>
</LI>
<LI>class <A HREF="KJS__ObjectImp.html">ObjectImp</A>
</LI>
<LI>class <A HREF="KJS__HostImp.html">HostImp</A>
</LI>
<LI>class <A HREF="KJS__Error.html">Error</A>
</LI>
<LI>class <A HREF="KJS__Undefined.html">Undefined</A>
</LI>
<LI>class <A HREF="KJS__Null.html">Null</A>
</LI>
<LI>class <A HREF="KJS__Completion.html">Completion</A>
</LI>
<LI>class <A HREF="KJS__ListIterator.html">ListIterator</A>
</LI>
<LI>class <A HREF="KJS__ListNode.html">ListNode</A>
</LI>
<LI>enum <A HREF="#ref35">CodeType</A> { GlobalCode,
		  EvalCode,
		  FunctionCode,
		  AnonymousCode,
		  HostCode }
</LI>
<LI>enum <A HREF="#ref36">FunctionAttribute</A> { ImplicitNone, ImplicitThis, ImplicitParents }
</LI>
<LI>class <A HREF="KJS__Function.html">Function</A>
</LI>
<LI>class <i><A HREF="KJS__FunctionImp.html">FunctionImp</A></i>
</LI>
<LI>class <A HREF="KJS__InternalFunctionImp.html">InternalFunctionImp</A>
</LI>
<LI>class <i><A HREF="KJS__ConstructorImp.html">ConstructorImp</A></i>
</LI>
<LI>class <A HREF="KJS__Constructor.html">Constructor</A>
</LI>
<LI>class <A HREF="KJS__UCharReference.html">UCharReference</A>
</LI>
<LI>struct <A HREF="KJS__UChar.html">UChar</A>
</LI>
<LI>class <A HREF="KJS__CString.html">CString</A>
</LI>
</ul><h4>Public Methods</h4><ul><LI>bool &nbsp;<b><A HREF="#ref43">isNaN</A></b> (double d) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref44">isInf</A></b> (double d) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref45">equal</A></b> (const KJSO& v1, const KJSO& v2) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref46">strictEqual</A></b> (const KJSO &v1, const KJSO &v2) 
</LI>
<LI>int &nbsp;<b><A HREF="#ref47">relation</A></b> (const KJSO& v1, const KJSO& v2) 
</LI>
<LI>double &nbsp;<b><A HREF="#ref48">max</A></b> (double d1, double d2) 
</LI>
<LI>double &nbsp;<b><A HREF="#ref49">min</A></b> (double d1, double d2) 
</LI>
<LI>KJSO &nbsp;<b><A HREF="#ref50">add</A></b> (const KJSO &v1, const KJSO &v2, char oper) 
</LI>
<LI>KJSO &nbsp;<b><A HREF="#ref51">mult</A></b> (const KJSO &v1, const KJSO &v2, char oper) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref55">operator==</A></b> (const UChar &c1, const UChar &c2) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref56">operator==</A></b> (const UString& s1, const UString& s2) 
</LI>
<LI>inline bool &nbsp;<b><A HREF="#ref57">operator!=</A></b> (const UString& s1, const UString& s2) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref58">operator<</A></b> (const UString& s1, const UString& s2) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref59">operator==</A></b> (const UString& s1, const char *s2) 
</LI>
<LI>inline bool &nbsp;<b><A HREF="#ref60">operator!=</A></b> (const UString& s1, const char *s2) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref61">operator==</A></b> (const char *s1, const UString& s2) 
</LI>
<LI>inline bool &nbsp;<b><A HREF="#ref62">operator!=</A></b> (const char *s1, const UString& s2) 
</LI>
<LI>bool &nbsp;<b><A HREF="#ref63">operator==</A></b> (const CString& s1, const CString& s2) 
</LI>
<LI>UString &nbsp;<b><A HREF="#ref64">operator+</A></b> (const UString& s1, const UString& s2) 
</LI>
</ul><h4>Public Members</h4><ul><LI>Forward <A HREF="#ref2">Lexer</A>
</LI>
<LI>Forward <A HREF="#ref3">Context</A>
</LI>
<LI>Forward <A HREF="#ref9">KJScriptImp</A>
</LI>
<LI>Forward <A HREF="#ref10">Debugger</A>
</LI>
<LI>extern const double <b><A HREF="#ref16">NaN</A></b></LI>
<LI>extern const double <b><A HREF="#ref17">Inf</A></b></LI>
<LI>Forward <A HREF="#ref21">Property</A>
</LI>
<LI>Forward <A HREF="#ref22">PropList</A>
</LI>
<LI>Forward <A HREF="#ref29">BooleanImp</A>
</LI>
<LI>Forward <A HREF="#ref30">NumberImp</A>
</LI>
<LI>Forward <A HREF="#ref31">StringImp</A>
</LI>
<LI>Forward <A HREF="#ref38">Parameter</A>
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
</p>
<A NAME="KJS__UString.html"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>UString</strong> <small>(class)</small></td><td align="right"><h3><strong>UString</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Global.html"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Global</strong> <small>(class)</small></td><td align="right"><h3><strong>Global</strong></h3></td></tr></table><p></p><p>
 The Global object represents the global namespace. It holds the native
 objects like String and functions like eval().
</p>
<p> It also serves as a container for variables created by the user, i.e.
 the statement
</p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

   var i = 2;

</pre>
</td></tr>

</table> <p>
 will basically perform a Global::current().put("i", Number(2)); operation.
</p>
<p></p>
<A NAME="KJS__KJSO.html"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>KJSO</strong> <small>(class)</small></td><td align="right"><h3><strong>KJSO</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Object.html"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Object</strong> <small>(class)</small></td><td align="right"><h3><strong>Object</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Imp.html"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Imp</strong> <small>(class)</small></td><td align="right"><h3><strong>Imp</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__List.html"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>List</strong> <small>(class)</small></td><td align="right"><h3><strong>List</strong></h3></td></tr></table><p></p><p>
</p>
<p> List is a native ECMAScript type. List values are only used for
 intermediate results of expression evaluation and cannot be stored
 as properties of objects.
</p>
<p> The list is explicitly shared. Note that while copy() returns a deep
 copy of the list the referenced objects are still shared.
   </p>
<A NAME="Type"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Type</strong> {              AbstractType = 1,
              UndefinedType,
	      NullType,
	      BooleanType,
	      NumberType,
	      StringType,
	      ObjectType,
	      HostType,
	      ReferenceType,
              CompletionType,
	      FunctionType,
	      InternalFunctionType,
	      DeclaredFunctionType,
	      AnonymousFunctionType,
	      ConstructorType,
	      ActivationType
  }
</td><td align="right"><h3><strong>Type</strong></h3></td></tr></table><p></p><p>
 Types of classes derived from KJSO
   </p>
<A NAME="Attribute"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Attribute</strong> { None       = 0,
		   ReadOnly   = 1 << 1,
		   DontEnum   = 1 << 2,
		   DontDelete = 1 << 3,
		   Internal   = 1 << 4 }
</td><td align="right"><h3><strong>Attribute</strong></h3></td></tr></table><p></p><p>
 Property attributes.
   </p>
<A NAME="Class"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Class</strong> { UndefClass,
	       ArrayClass,
	       StringClass,
	       BooleanClass,
	       NumberClass,
	       ObjectClass,
	       DateClass,
	       RegExpClass,
	       ErrorClass,
	       FunctionClass }
</td><td align="right"><h3><strong>Class</strong></h3></td></tr></table><p></p><p>
 Types of classes derived from <A HREF="KJS__Object.html">Object</A>.
   </p>
<A NAME="Compl"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Compl</strong> { Normal, Break, Continue, ReturnValue, Throw }
</td><td align="right"><h3><strong>Compl</strong></h3></td></tr></table><p></p><p>
 Completion types.
   </p>
<A NAME="ErrorType"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>ErrorType</strong> { NoError = 0,
		   GeneralError,
		   EvalError,
		   RangeError,
		   ReferenceError,
		   SyntaxError,
		   TypeError,
		   URIError }
</td><td align="right"><h3><strong>ErrorType</strong></h3></td></tr></table><p></p><p>
 Error codes.
   </p>
<A NAME="NaN"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td>extern const double  <strong>NaN</strong>
</td><td align="right"><h3><strong>NaN</strong></h3></td></tr></table><p></p><A NAME="Inf"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td>extern const double  <strong>Inf</strong>
</td><td align="right"><h3><strong>Inf</strong></h3></td></tr></table><p></p><A NAME="KJS__Boolean.html"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Boolean</strong> <small>(class)</small></td><td align="right"><h3><strong>Boolean</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Number.html"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Number</strong> <small>(class)</small></td><td align="right"><h3><strong>Number</strong></h3></td></tr></table><p></p><p>
</p>
<p> Number is a handle for a number value. <A HREF="KJS__KJSO.html#toPrimitive">KJSO::toPrimitive</A>(),
 <A HREF="KJS__KJSO.html#toBoolean">KJSO::toBoolean</A>(), <A HREF="KJS__KJSO.html#toNumber">KJSO::toNumber</A>(), <A HREF="KJS__KJSO.html#toString">KJSO::toString</A>() and
 <A HREF="KJS__KJSO.html#toString">KJSO::toString</A>() are re-implemented internally according to the
 specification.
</p>
<p> Example usage:
</p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

 <A HREF="KJS__Number.html">Number</A> a(2), b(3.0), c; // c defaults to 0.0

 c = a.value() * b.value(); // c will be 6.0 now

 <A HREF="KJS__String.html">String</A> s = c.toString(); // s holds "6"

</pre>
</td></tr>

</table> <p>
</p>
<p> Note the following implementation detail: Internally, the value is stored
 as a double and will be casted from and to other types when needed.
 This won't be noticable within a certain range of values but might produce
 unpredictable results when crossing these limits. In case this turns out
 to be a real problem for an application we might have to extend this class
 to behave more intelligently.
   </p>
<A NAME="KJS__String.html"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>String</strong> <small>(class)</small></td><td align="right"><h3><strong>String</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__TypeInfo.html"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>TypeInfo</strong> <small>(struct)</small></td><td align="right"><h3><strong>TypeInfo</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__ObjectImp.html"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>ObjectImp</strong> <small>(class)</small></td><td align="right"><h3><strong>ObjectImp</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__HostImp.html"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>HostImp</strong> <small>(class)</small></td><td align="right"><h3><strong>HostImp</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Error.html"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Error</strong> <small>(class)</small></td><td align="right"><h3><strong>Error</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Undefined.html"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Undefined</strong> <small>(class)</small></td><td align="right"><h3><strong>Undefined</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Null.html"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Null</strong> <small>(class)</small></td><td align="right"><h3><strong>Null</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Completion.html"></A><A NAME="ref32"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Completion</strong> <small>(class)</small></td><td align="right"><h3><strong>Completion</strong></h3></td></tr></table><p></p><p>
 Completion objects are used to convey the return status and value
 from functions.
</p>
<p> See <A HREF="KJS__FunctionImp.html#execute">FunctionImp::execute</A>()
</p>
<p></p>
<p></p>
<p><b>See also</b>: FunctionImp</p>
<A NAME="KJS__ListIterator.html"></A><A NAME="ref33"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>ListIterator</strong> <small>(class)</small></td><td align="right"><h3><strong>ListIterator</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__ListNode.html"></A><A NAME="ref34"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>ListNode</strong> <small>(class)</small></td><td align="right"><h3><strong>ListNode</strong></h3></td></tr></table><p></p><p>
   </p>
<A NAME="CodeType"></A><A NAME="ref35"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>CodeType</strong> { GlobalCode,
		  EvalCode,
		  FunctionCode,
		  AnonymousCode,
		  HostCode }
</td><td align="right"><h3><strong>CodeType</strong></h3></td></tr></table><p></p><A NAME="FunctionAttribute"></A><A NAME="ref36"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>FunctionAttribute</strong> { ImplicitNone, ImplicitThis, ImplicitParents }
</td><td align="right"><h3><strong>FunctionAttribute</strong></h3></td></tr></table><p></p><A NAME="KJS__Function.html"></A><A NAME="ref37"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Function</strong> <small>(class)</small></td><td align="right"><h3><strong>Function</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__FunctionImp.html"></A><A NAME="ref39"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>FunctionImp</strong> <small>(class)</small></td><td align="right"><h3><strong>FunctionImp</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__InternalFunctionImp.html"></A><A NAME="ref40"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>InternalFunctionImp</strong> <small>(class)</small></td><td align="right"><h3><strong>InternalFunctionImp</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__ConstructorImp.html"></A><A NAME="ref41"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>ConstructorImp</strong> <small>(class)</small></td><td align="right"><h3><strong>ConstructorImp</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="KJS__Constructor.html"></A><A NAME="ref42"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>Constructor</strong> <small>(class)</small></td><td align="right"><h3><strong>Constructor</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="isNaN"></A><A NAME="ref43"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isNaN</strong> (double d)
<br></td><td align="right"><h3><strong>isNaN</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Returns</b>: True if d is not a number (platform support required).
   </p>
<A NAME="isInf"></A><A NAME="ref44"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>isInf</strong> (double d)
<br></td><td align="right"><h3><strong>isInf</strong></h3></td></tr></table><p></p><p>
</p>
<p><b>Returns</b>: True if d is infinite (platform support required).
   </p>
<A NAME="equal"></A><A NAME="ref45"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>equal</strong> (const KJSO& v1, const KJSO& v2)
<br></td><td align="right"><h3><strong>equal</strong></h3></td></tr></table><p></p><A NAME="strictEqual"></A><A NAME="ref46"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>strictEqual</strong> (const KJSO &v1, const KJSO &v2)
<br></td><td align="right"><h3><strong>strictEqual</strong></h3></td></tr></table><p></p><A NAME="relation"></A><A NAME="ref47"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int &nbsp;<strong>relation</strong> (const KJSO& v1, const KJSO& v2)
<br></td><td align="right"><h3><strong>relation</strong></h3></td></tr></table><p></p><p>
 This operator performs an abstract relational comparision of the two
 arguments that can be of arbitrary type. If possible, conversions to the
 string or number type will take place before the comparison.
</p>
<p></p>
<p><b>Returns</b>: 1 if v1 is "less-than" v2, 0 if the relation is "greater-than-or-
 equal". -1 if the result is undefined.
   </p>
<A NAME="max"></A><A NAME="ref48"></A><table width="100%"><tr bgcolor="#eeeeee"><td>double &nbsp;<strong>max</strong> (double d1, double d2)
<br></td><td align="right"><h3><strong>max</strong></h3></td></tr></table><p></p><A NAME="min"></A><A NAME="ref49"></A><table width="100%"><tr bgcolor="#eeeeee"><td>double &nbsp;<strong>min</strong> (double d1, double d2)
<br></td><td align="right"><h3><strong>min</strong></h3></td></tr></table><p></p><A NAME="add"></A><A NAME="ref50"></A><table width="100%"><tr bgcolor="#eeeeee"><td>KJSO &nbsp;<strong>add</strong> (const KJSO &v1, const KJSO &v2, char oper)
<br></td><td align="right"><h3><strong>add</strong></h3></td></tr></table><p></p><p>
 Additive operator. Either performs an addition or substraction of v1
 and v2.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>oper</i></TD><TD align="left" valign="top">'+' or '-' for an addition or substraction, respectively.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The result of the operation.
   </p>
<A NAME="mult"></A><A NAME="ref51"></A><table width="100%"><tr bgcolor="#eeeeee"><td>KJSO &nbsp;<strong>mult</strong> (const KJSO &v1, const KJSO &v2, char oper)
<br></td><td align="right"><h3><strong>mult</strong></h3></td></tr></table><p></p><p>
 Multiplicative operator. Either multiplies/divides v1 and v2 or
 calculates the remainder from an division.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>oper</i></TD><TD align="left" valign="top">'*', '/' or '%' for a multiplication, division or
 modulo operation.
</TD></TR>
</TABLE></P>
<p><b>Returns</b>: The result of the operation.
   </p>
<A NAME="KJS__UCharReference.html"></A><A NAME="ref52"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>UCharReference</strong> <small>(class)</small></td><td align="right"><h3><strong>UCharReference</strong></h3></td></tr></table><p></p><p>
</p>
<p> UCharReference is the dynamic counterpart of <A HREF="KJS__UChar.html">UChar</A>. It's used when
 characters retrieved via index from a <A HREF="KJS__UString.html">UString</A> are used in an
 assignment expression (and therefore can't be treated as being const):
</p><table border="0" width="100%">
<tr>
<td bgcolor="#BEEAE0">
<pre>

 <A HREF="KJS__UString.html">UString</A> s("hello world");
 s[0] = 'H';

</pre>
</td></tr>

</table> <p>
</p>
<p> If that sounds confusing your best bet is to simply forget about the
 existance of this class and treat is as being identical to <A HREF="KJS__UChar.html">UChar</A>.
   </p>
<A NAME="KJS__UChar.html"></A><A NAME="ref53"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>UChar</strong> <small>(struct)</small></td><td align="right"><h3><strong>UChar</strong></h3></td></tr></table><p></p><p>
</p>
<p> UChar represents a 16 bit Unicode character. It's internal data
 representation is compatible to XChar2b and QChar. It's therefore
 possible to exchange data with X and Qt with shallow copies.
   </p>
<A NAME="KJS__CString.html"></A><A NAME="ref54"></A><table width="100%"><tr bgcolor="#eeeeee"><td><strong>CString</strong> <small>(class)</small></td><td align="right"><h3><strong>CString</strong></h3></td></tr></table><p></p><p>
</p>
<A NAME="operator=="></A><A NAME="ref55"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>operator==</strong> (const UChar &c1, const UChar &c2)
<br></td><td align="right"><h3><strong>operator==</strong></h3></td></tr></table><p></p><A NAME="operator=="></A><A NAME="ref56"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>operator==</strong> (const UString& s1, const UString& s2)
<br></td><td align="right"><h3><strong>operator==</strong></h3></td></tr></table><p></p><A NAME="operator!="></A><A NAME="ref57"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline bool &nbsp;<strong>operator!=</strong> (const UString& s1, const UString& s2)
<br></td><td align="right"><h3><strong>operator!=</strong></h3></td></tr></table><p></p><A NAME="operator%3C"></A><A NAME="ref58"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>operator<</strong> (const UString& s1, const UString& s2)
<br></td><td align="right"><h3><strong>operator<</strong></h3></td></tr></table><p></p><A NAME="operator=="></A><A NAME="ref59"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>operator==</strong> (const UString& s1, const char *s2)
<br></td><td align="right"><h3><strong>operator==</strong></h3></td></tr></table><p></p><A NAME="operator!="></A><A NAME="ref60"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline bool &nbsp;<strong>operator!=</strong> (const UString& s1, const char *s2)
<br></td><td align="right"><h3><strong>operator!=</strong></h3></td></tr></table><p></p><A NAME="operator=="></A><A NAME="ref61"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>operator==</strong> (const char *s1, const UString& s2)
<br></td><td align="right"><h3><strong>operator==</strong></h3></td></tr></table><p></p><A NAME="operator!="></A><A NAME="ref62"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline bool &nbsp;<strong>operator!=</strong> (const char *s1, const UString& s2)
<br></td><td align="right"><h3><strong>operator!=</strong></h3></td></tr></table><p></p><A NAME="operator=="></A><A NAME="ref63"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>operator==</strong> (const CString& s1, const CString& s2)
<br></td><td align="right"><h3><strong>operator==</strong></h3></td></tr></table><p></p><A NAME="operator+"></A><A NAME="ref64"></A><table width="100%"><tr bgcolor="#eeeeee"><td>UString &nbsp;<strong>operator+</strong> (const UString& s1, const UString& s2)
<br></td><td align="right"><h3><strong>operator+</strong></h3></td></tr></table><p></p><HR>
	<table>
	<tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:36 2002, using kdoc 2.0a53.</small></td></tr>
	</table>
</BODY>
</HTML>