blob: ed1c4f7bebb5923f10ad61f507e12e88e912d8f1 [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>XNumberBase Class Reference</h1><code>#include &lt;<a class="el" href="XNumberBase_8hpp-source.html">XNumberBase.hpp</a>&gt;</code>
<p>
Inheritance diagram for XNumberBase:<p><center><img src="classXNumberBase__inherit__graph.gif" border="0" usemap="#XNumberBase_inherit_map" alt="Inheritance graph"></center>
<map name="XNumberBase_inherit_map">
<area href="classXNumber.html" shape="rect" coords="6,266,84,242">
<area href="classXTokenNumberAdapter.html" shape="rect" coords="108,266,265,242">
<area href="classXObject.html" shape="rect" coords="82,117,149,93">
<area href="classXalanReferenceCountedObject.html" shape="rect" coords="17,43,214,19">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XNumberBase:<p><center><img src="classXNumberBase__coll__graph.gif" border="0" usemap="#XNumberBase_coll_map" alt="Collaboration graph"></center>
<map name="XNumberBase_coll_map">
<area href="classXObject.html" shape="rect" coords="253,234,319,210">
<area href="classXalanReferenceCountedObject.html" shape="rect" coords="6,42,204,18">
<area href="classXalanDOMString.html" shape="rect" coords="228,42,345,18">
<area href="classXObjectFactory.html" shape="rect" coords="439,42,549,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXNumberBase-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef <a class="el" href="classXObject.html">XObject</a> <a class="el" href="classXNumberBase.html#s0">ParentType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classXNumberBase.html#a0">XNumberBase</a> (const XNumberBase &amp;source)
<li>virtual <a class="el" href="classXNumberBase.html#a1">~XNumberBase</a> ()
<li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXNumberBase.html#a2">getTypeString</a> () const
<dl class="el"><dd><font size=-1><em>Given a request type, return the equivalent string.</em> <a href="#a2">More...</a><em><br><br></em></font></dl><li>virtual double <a class="el" href="classXNumberBase.html#a3">num</a> () const=0
<dl class="el"><dd><font size=-1><em>Cast result object to a number.</em> <a href="#a3">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classXNumberBase.html#a4">boolean</a> () const
<dl class="el"><dd><font size=-1><em>Cast result object to a boolean.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li>virtual const <a class="el" href="classXalanDOMString.html">XalanDOMString</a>&amp; <a class="el" href="classXNumberBase.html#a5">str</a> () const=0
<dl class="el"><dd><font size=-1><em>Cast result object to a string.</em> <a href="#a5">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXNumberBase.html#a6">str</a> (<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp;formatterListener, <a class="el" href="classXObject.html#s0">MemberFunctionPtr</a> function) const=0
<dl class="el"><dd><font size=-1><em>Send the string value to a <a class="el" href="classFormatterListener.html">FormatterListener</a> instance.</em> <a href="#a6">More...</a><em><br><br></em></font></dl><li>virtual double <a class="el" href="classXNumberBase.html#a7">stringLength</a> () const=0
<dl class="el"><dd><font size=-1><em>Get the length of the string value of the instance..</em> <a href="#a7">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXNumberBase.html#a8">ProcessXObjectTypeCallback</a> (<a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp;theCallbackObject)
<dl class="el"><dd><font size=-1><em>Process a callback request for preferred type information.</em> <a href="#a8">More...</a><em><br><br></em></font></dl><li>virtual void <a class="el" href="classXNumberBase.html#a9">ProcessXObjectTypeCallback</a> (<a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp;theCallbackObject) const
<dl class="el"><dd><font size=-1><em>Process a callback request for preferred type information.</em> <a href="#a9">More...</a><em><br><br></em></font></dl></ul>
<h2>Protected Methods</h2>
<ul>
<li><a class="el" href="classXNumberBase.html#b0">XNumberBase</a> ()
<dl class="el"><dd><font size=-1><em>Constructor for derived classes.</em> <a href="#b0">More...</a><em><br><br></em></font></dl></ul>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="XNumberBase::ParentType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
typedef <a class="el" href="classXObject.html">XObject</a> XNumberBase::ParentType
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XNumberBase::XNumberBase"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XNumberBase::XNumberBase (
</b></td>
<td valign="bottom"><b>
const XNumberBase &amp; <em>source</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="XNumberBase::~XNumberBase"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XNumberBase::~XNumberBase (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="b0" doxytag="XNumberBase::XNumberBase"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
XNumberBase::XNumberBase (
</b></td>
<td valign="bottom"><b>
)<code> [explicit, protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for derived classes.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a9" doxytag="XNumberBase::ProcessXObjectTypeCallback"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XNumberBase::ProcessXObjectTypeCallback (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp; <em>theCallbackObject</em>&nbsp;) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Process a callback request for preferred type information.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theCallbackObject</em>
&nbsp;</td><td>
object to call back </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a12">XObject</a>. </td>
</tr>
</table>
<a name="a8" doxytag="XNumberBase::ProcessXObjectTypeCallback"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XNumberBase::ProcessXObjectTypeCallback (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classXObjectTypeCallback.html">XObjectTypeCallback</a> &amp; <em>theCallbackObject</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Process a callback request for preferred type information.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theCallbackObject</em>
&nbsp;</td><td>
object to call back </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a11">XObject</a>. </td>
</tr>
</table>
<a name="a4" doxytag="XNumberBase::boolean"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
bool XNumberBase::boolean (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Cast result object to a boolean.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
boolean value </dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a4">XObject</a>. </td>
</tr>
</table>
<a name="a2" doxytag="XNumberBase::getTypeString"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XNumberBase::getTypeString (
</b></td>
<td valign="bottom"><b>
) const<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given a request type, return the equivalent string.
<p>
For diagnostic purposes.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
string for type </dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a2">XObject</a>. </td>
</tr>
</table>
<a name="a3" doxytag="XNumberBase::num"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
double XNumberBase::num (
</b></td>
<td valign="bottom"><b>
) const<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Cast result object to a number.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
numeric value </dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a3">XObject</a>.
<p>
Reimplemented in <a class="el" href="classXNumber.html#a3">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a3">XTokenNumberAdapter</a>. </td>
</tr>
</table>
<a name="a6" doxytag="XNumberBase::str"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void XNumberBase::str (
</b></td>
<td valign="bottom"><b>
<a class="el" href="classFormatterListener.html">FormatterListener</a> &amp; <em>formatterListener</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classXObject.html#s0">MemberFunctionPtr</a> <em>function</em>&nbsp;) const<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Send the string value to a <a class="el" href="classFormatterListener.html">FormatterListener</a> instance.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>formatterListener</em>
&nbsp;</td><td>
The <a class="el" href="classFormatterListener.html">FormatterListener</a> instance </td></tr>
<tr><td valign=top><em>function</em>
&nbsp;</td><td>
A pointer to the member function of <a class="el" href="classFormatterListener.html">FormatterListener</a> to call </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a6">XObject</a>.
<p>
Reimplemented in <a class="el" href="classXNumber.html#a5">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a5">XTokenNumberAdapter</a>. </td>
</tr>
</table>
<a name="a5" doxytag="XNumberBase::str"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp; XNumberBase::str (
</b></td>
<td valign="bottom"><b>
) const<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Cast result object to a string.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
string value </dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a5">XObject</a>.
<p>
Reimplemented in <a class="el" href="classXNumber.html#a4">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a4">XTokenNumberAdapter</a>. </td>
</tr>
</table>
<a name="a7" doxytag="XNumberBase::stringLength"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
double XNumberBase::stringLength (
</b></td>
<td valign="bottom"><b>
) const<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get the length of the string value of the instance..
<p>
<dl compact><dt>
<b>Returns: </b><dd>
The length of the string value </dl>
<p>
Reimplemented from <a class="el" href="classXObject.html#a7">XObject</a>.
<p>
Reimplemented in <a class="el" href="classXNumber.html#a7">XNumber</a>, and <a class="el" href="classXTokenNumberAdapter.html#a7">XTokenNumberAdapter</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XNumberBase_8hpp-source.html">XNumberBase.hpp</a></ul>
<p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">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="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<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.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>