blob: c076ba67f5861b650b659288116a674e84f59647 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Xalan-C++ API : Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<!-- The head section is copied from Doxygen 1.7.1 generated default output -->
<body>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3>
<hr/>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>XNumber Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XNumber" --><!-- doxytag: inherits="XNumberBase" -->
<p><code>#include &lt;<a class="el" href="XNumber_8hpp_source.html">XNumber.hpp</a>&gt;</code></p>
<p>Inherits <a class="el" href="classXNumberBase.html">XNumberBase</a>.</p>
<div class="dynheader">
Collaboration diagram for XNumber:</div>
<div class="dyncontent">
<div class="center"><img src="classXNumber__coll__graph.png" border="0" usemap="#XNumber_coll__map" alt="Collaboration graph"/></div>
<map name="XNumber_coll__map" id="XNumber_coll__map">
<area shape="rect" id="node2" href="classXNumberBase.html" title="XNumberBase" alt="" coords="399,413,513,443"/><area shape="rect" id="node4" href="classXObject.html" title="Class to hold XPath return types." alt="" coords="296,317,368,347"/><area shape="rect" id="node6" href="classXalanReferenceCountedObject.html" title="Class to hold reference count information." alt="" coords="5,101,224,131"/><area shape="rect" id="node8" href="classXObjectFactory.html" title="This class handles the creation of XObjects and manages their lifetime." alt="" coords="248,101,365,131"/><area shape="rect" id="node10" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="463,101,591,131"/><area shape="rect" id="node12" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="413,5,640,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXNumber-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXNumber.html#a02527b4d46813f98c9d3411414d65084">XNumber</a> (double val, MemoryManager &amp;theMemoryManager)
<dl class="el"><dd class="mdescRight">Create an <a class="el" href="classXNumber.html">XNumber</a> from a number. <a href="#a02527b4d46813f98c9d3411414d65084"></a><br/></dl><li><a class="el" href="classXNumber.html#a401f4a5709fbc60e51a7ce3cdb220204">XNumber</a> (const <a class="el" href="classXNumber.html">XNumber</a> &amp;source, MemoryManager &amp;theMemoryManager)
<li>virtual <a class="el" href="classXNumber.html#abc371d5664c12c17b71b61f53174df61">~XNumber</a> ()
<li>virtual double <a class="el" href="classXNumber.html#aecf9b2c7fad7b0575d99c69b67141474">num</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Cast result object to a number. <a href="#aecf9b2c7fad7b0575d99c69b67141474"></a><br/></dl><li>virtual double <a class="el" href="classXNumber.html#a15ba03f8c5501e3c819cec256bf52fc0">num</a> () const
<dl class="el"><dd class="mdescRight">Cast result object to a number. <a href="#a15ba03f8c5501e3c819cec256bf52fc0"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXNumber.html#a30104f30d3f114e4b6bd540e753477fd">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#a30104f30d3f114e4b6bd540e753477fd"></a><br/></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; <a class="el" href="classXNumber.html#a7f8cd0dbbe6f158454319de7db9dfec1">str</a> () const
<dl class="el"><dd class="mdescRight">Cast result object to a string. <a href="#a7f8cd0dbbe6f158454319de7db9dfec1"></a><br/></dl><li>virtual void <a class="el" href="classXNumber.html#ac8abf67d3af67f4f10088a9b33037e72">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext, <a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a> function) const
<dl class="el"><dd class="mdescRight">Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. <a href="#ac8abf67d3af67f4f10088a9b33037e72"></a><br/></dl><li>virtual void <a class="el" href="classXNumber.html#a097bfea60896037300f6069a7f635e25">str</a> (<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a> function) const
<dl class="el"><dd class="mdescRight">Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. <a href="#a097bfea60896037300f6069a7f635e25"></a><br/></dl><li>virtual void <a class="el" href="classXNumber.html#af60f41f153efa3ed85172c52ba1d6873">str</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext, <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const
<dl class="el"><dd class="mdescRight">Append the string value directly a string. <a href="#af60f41f153efa3ed85172c52ba1d6873"></a><br/></dl><li>virtual void <a class="el" href="classXNumber.html#a6310b4d8efa8474440959e4a697c8d91">str</a> (<a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;theBuffer) const
<dl class="el"><dd class="mdescRight">Append the string value directly a string. <a href="#a6310b4d8efa8474440959e4a697c8d91"></a><br/></dl><li>virtual double <a class="el" href="classXNumber.html#ae159e6189f5dc084b7bd6f5af5cd8f11">stringLength</a> (<a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;executionContext) const
<dl class="el"><dd class="mdescRight">Get the length of the string value of the instance. <a href="#ae159e6189f5dc084b7bd6f5af5cd8f11"></a><br/></dl><li>void <a class="el" href="classXNumber.html#adf69ace7ebe4d7e36ff44e50948567c2">set</a> (double theValue)
<dl class="el"><dd class="mdescRight">Change the value of an <a class="el" href="classXNumber.html">XNumber</a>. <a href="#adf69ace7ebe4d7e36ff44e50948567c2"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XNumber_8hpp_source.html#l00041">41</a> of file <a class="el" href="XNumber_8hpp_source.html">XNumber.hpp</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a02527b4d46813f98c9d3411414d65084"></a><!-- doxytag: member="XNumber::XNumber" ref="a02527b4d46813f98c9d3411414d65084" args="(double val, MemoryManager &amp;theMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XNumber::XNumber </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theMemoryManager</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Create an <a class="el" href="classXNumber.html">XNumber</a> from a number. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>val</em>&nbsp;</td><td>numeric value to use </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a401f4a5709fbc60e51a7ce3cdb220204"></a><!-- doxytag: member="XNumber::XNumber" ref="a401f4a5709fbc60e51a7ce3cdb220204" args="(const XNumber &amp;source, MemoryManager &amp;theMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XNumber::XNumber </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXNumber.html">XNumber</a> &amp;&nbsp;</td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theMemoryManager</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="abc371d5664c12c17b71b61f53174df61"></a><!-- doxytag: member="XNumber::~XNumber" ref="abc371d5664c12c17b71b61f53174df61" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XNumber::~XNumber </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aecf9b2c7fad7b0575d99c69b67141474"></a><!-- doxytag: member="XNumber::num" ref="aecf9b2c7fad7b0575d99c69b67141474" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XNumber::num </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a number. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>numeric value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#a572b7ef1934674807094276adcd7616c">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a15ba03f8c5501e3c819cec256bf52fc0"></a><!-- doxytag: member="XNumber::num" ref="a15ba03f8c5501e3c819cec256bf52fc0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XNumber::num </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a number. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>numeric value </dd></dl>
<p>Reimplemented from <a class="el" href="classXObject.html#a6abeb86c51a1db373495ecf02eba0adb">XObject</a>.</p>
</div>
</div>
<a class="anchor" id="adf69ace7ebe4d7e36ff44e50948567c2"></a><!-- doxytag: member="XNumber::set" ref="adf69ace7ebe4d7e36ff44e50948567c2" args="(double theValue)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void XNumber::set </td>
<td>(</td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>theValue</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Change the value of an <a class="el" href="classXNumber.html">XNumber</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theValue</em>&nbsp;</td><td>The new value. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7f8cd0dbbe6f158454319de7db9dfec1"></a><!-- doxytag: member="XNumber::str" ref="a7f8cd0dbbe6f158454319de7db9dfec1" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; XNumber::str </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a string. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>string value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#ae2763f5205cf981d2ce0dc2c3ae8d918">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="af60f41f153efa3ed85172c52ba1d6873"></a><!-- doxytag: member="XNumber::str" ref="af60f41f153efa3ed85172c52ba1d6873" args="(XPathExecutionContext &amp;executionContext, XalanDOMString &amp;theBuffer) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumber::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theBuffer</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Append the string value directly a string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>theBuffer</em>&nbsp;</td><td>The buffer for the data </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#aa46286faf6f9d860415e60719ffd3be4">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a097bfea60896037300f6069a7f635e25"></a><!-- doxytag: member="XNumber::str" ref="a097bfea60896037300f6069a7f635e25" args="(FormatterListener &amp;formatterListener, MemberFunctionPtr function) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumber::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;&nbsp;</td>
<td class="paramname"> <em>formatterListener</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a>&nbsp;</td>
<td class="paramname"> <em>function</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>formatterListener</em>&nbsp;</td><td>The <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance </td></tr>
<tr><td valign="top"></td><td valign="top"><em>function</em>&nbsp;</td><td>A pointer to the member function of <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> to call </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#a14c2b11cac854a9bc52e0b87a4c73368">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="ac8abf67d3af67f4f10088a9b33037e72"></a><!-- doxytag: member="XNumber::str" ref="ac8abf67d3af67f4f10088a9b33037e72" args="(XPathExecutionContext &amp;executionContext, FormatterListener &amp;formatterListener, MemberFunctionPtr function) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumber::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;&nbsp;</td>
<td class="paramname"> <em>formatterListener</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXObject.html#ab5465c81680a86b1a26efea4b230adff">MemberFunctionPtr</a>&nbsp;</td>
<td class="paramname"> <em>function</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Send the string value to a <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
<tr><td valign="top"></td><td valign="top"><em>formatterListener</em>&nbsp;</td><td>The <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> instance </td></tr>
<tr><td valign="top"></td><td valign="top"><em>function</em>&nbsp;</td><td>A pointer to the member function of <a class="el" href="classFormatterListener.html" title="A SAX-based formatter interface for the XSL processor.">FormatterListener</a> to call </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#ac1e8d48f47e0b988f860c09f444a6327">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a6310b4d8efa8474440959e4a697c8d91"></a><!-- doxytag: member="XNumber::str" ref="a6310b4d8efa8474440959e4a697c8d91" args="(XalanDOMString &amp;theBuffer) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XNumber::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>theBuffer</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Append the string value directly a string. </p>
<p>This function does not have access to the current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a>, so the result may contain data from whitespace text nodes that might have been stripped otherwise.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>theBuffer</em>&nbsp;</td><td>The buffer for the data </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXNumberBase.html#ac5700a378b79e922c398b2152ea616c3">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="a30104f30d3f114e4b6bd540e753477fd"></a><!-- doxytag: member="XNumber::str" ref="a30104f30d3f114e4b6bd540e753477fd" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; XNumber::str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cast result object to a string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>executionContext</em>&nbsp;</td><td>The current <a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>string value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#ae9d0540c5921f4ec63fe1cc59b0f0943">XNumberBase</a>.</p>
</div>
</div>
<a class="anchor" id="ae159e6189f5dc084b7bd6f5af5cd8f11"></a><!-- doxytag: member="XNumber::stringLength" ref="ae159e6189f5dc084b7bd6f5af5cd8f11" args="(XPathExecutionContext &amp;executionContext) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double XNumber::stringLength </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXPathExecutionContext.html">XPathExecutionContext</a> &amp;&nbsp;</td>
<td class="paramname"> <em>executionContext</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the length of the string value of the instance. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The length of the string value </dd></dl>
<p>Implements <a class="el" href="classXNumberBase.html#a59ee699917955d5d3651e83b9e3a0e7a">XNumberBase</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XNumber_8hpp_source.html">XNumber.hpp</a></li>
</ul>
</div>
<p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p>
<p><font color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><a href="http://www.doxygen.org/">Doxygen</a> and
<a href="http://www.graphviz.org/">GraphViz</a> are
used to generate this API documentation from the Xalan-C header files.</i></font></p>
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="80%" valign="top">
<p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/>
Copyright &copy; 1999-2012 The Apache Software Foundation.<br/>
All Rights Reserved.</p>
</td>
</tr>
<tr>
<td width="100%">
<p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo">
</td>
</tr>
</table>
</body>
</html>