blob: a9eb0c3bc6a1ab363122877e868ace17b750579a [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>AttributeListImpl Class Reference</h1><code>#include &lt;<a class="el" href="AttributeListImpl_8hpp-source.html">AttributeListImpl.hpp</a>&gt;</code>
<p>
Inheritance diagram for AttributeListImpl:<p><center><img src="classAttributeListImpl__inherit__graph.gif" border="0" usemap="#AttributeListImpl_inherit_map" alt="Inheritance graph"></center>
<map name="AttributeListImpl_inherit_map">
<area href="classAttributeListType.html" shape="rect" coords="7,42,118,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for AttributeListImpl:<p><center><img src="classAttributeListImpl__coll__graph.gif" border="0" usemap="#AttributeListImpl_coll_map" alt="Collaboration graph"></center>
<map name="AttributeListImpl_coll_map">
<area href="classAttributeListType.html" shape="rect" coords="7,42,118,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classAttributeListImpl-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef XalanVector&lt;<a class="el" href="classAttributeVectorEntry.html">AttributeVectorEntry</a>*&gt; <a class="el" href="classAttributeListImpl.html#s0">AttributeVectorType</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classAttributeListImpl.html#a0">AttributeListImpl</a> (<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<li>virtual <a class="el" href="classAttributeListImpl.html#a1">~AttributeListImpl</a> ()
<li><a class="el" href="classAttributeListImpl.html#a2">AttributeListImpl</a> (const AttributeListImpl &amp;theSource, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<li><a class="el" href="classAttributeListImpl.html#a3">AttributeListImpl</a> (const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;theSource, <a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp;theManager)
<li>AttributeListImpl&amp; <a class="el" href="classAttributeListImpl.html#a4">operator=</a> (const AttributeListImpl &amp;theRHS)
<li>AttributeListImpl&amp; <a class="el" href="classAttributeListImpl.html#a5">operator=</a> (const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;theRHS)
<li><a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a>&amp; <a class="el" href="classAttributeListImpl.html#a6">getMemoryManager</a> ()
<li>virtual unsigned int <a class="el" href="classAttributeListImpl.html#a7">getLength</a> () const
<li>virtual const XMLCh* <a class="el" href="classAttributeListImpl.html#a8">getName</a> (const unsigned int index) const
<li>virtual const XMLCh* <a class="el" href="classAttributeListImpl.html#a9">getType</a> (const unsigned int index) const
<li>virtual const XMLCh* <a class="el" href="classAttributeListImpl.html#a10">getValue</a> (const unsigned int index) const
<li>virtual const XMLCh* <a class="el" href="classAttributeListImpl.html#a11">getType</a> (const XMLCh *const name) const
<li>virtual const XMLCh* <a class="el" href="classAttributeListImpl.html#a12">getValue</a> (const XMLCh *const name) const
<li>virtual const XMLCh* <a class="el" href="classAttributeListImpl.html#a13">getValue</a> (const char *const name) const
<li>virtual void <a class="el" href="classAttributeListImpl.html#a14">clear</a> ()
<dl class="el"><dd><font size=-1><em>Remove all attributes from the list.</em> <a href="#a14">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classAttributeListImpl.html#a15">addAttribute</a> (const XMLCh *name, const XMLCh *type, const XMLCh *value)
<dl class="el"><dd><font size=-1><em>Adds an attribute to the attribute list.</em> <a href="#a15">More...</a><em><br><br></em></font></dl><li>virtual bool <a class="el" href="classAttributeListImpl.html#a16">removeAttribute</a> (const XMLCh *name)
<dl class="el"><dd><font size=-1><em>Removes an attribute from the attribute list.</em> <a href="#a16">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classAttributeListImpl.html#a17">swap</a> (AttributeListImpl &amp;theOther)
<dl class="el"><dd><font size=-1><em>Swap the contents of two instances.</em> <a href="#a17">More...</a><em><br><br></em></font></dl><li>void <a class="el" href="classAttributeListImpl.html#a18">reserve</a> (unsigned int theCount)
<dl class="el"><dd><font size=-1><em>Reserve room for the given number of attributes.</em> <a href="#a18">More...</a><em><br><br></em></font></dl></ul>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="AttributeListImpl::AttributeVectorType"></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 XalanVector&lt; <a class="el" href="classAttributeVectorEntry.html">AttributeVectorEntry</a> *&gt; AttributeListImpl::AttributeVectorType&lt;<a class="el" href="classAttributeVectorEntry.html">AttributeVectorEntry</a>*&gt;
</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="AttributeListImpl::AttributeListImpl"></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>
AttributeListImpl::AttributeListImpl (
</b></td>
<td valign="bottom"><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</em>&nbsp;)<code> [explicit]</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="a1" doxytag="AttributeListImpl::~AttributeListImpl"></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>
AttributeListImpl::~AttributeListImpl (
</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="a2" doxytag="AttributeListImpl::AttributeListImpl"></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>
AttributeListImpl::AttributeListImpl (
</b></td>
<td valign="bottom"><b>
const AttributeListImpl &amp; <em>theSource</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</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="a3" doxytag="AttributeListImpl::AttributeListImpl"></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>
AttributeListImpl::AttributeListImpl (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <em>theSource</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; <em>theManager</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>
<hr><h2>Member Function Documentation</h2>
<a name="a15" doxytag="AttributeListImpl::addAttribute"></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 AttributeListImpl::addAttribute (
</b></td>
<td valign="bottom"><b>
const XMLCh * <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const XMLCh * <em>type</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const XMLCh * <em>value</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>
Adds an attribute to the attribute list.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
attribute name </td></tr>
<tr><td valign=top><em>type</em>
&nbsp;</td><td>
attribute type, "CDATA," for example </td></tr>
<tr><td valign=top><em>value</em>
&nbsp;</td><td>
attribute value </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a14" doxytag="AttributeListImpl::clear"></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 AttributeListImpl::clear (
</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>
Remove all attributes from the list.
<p>
</td>
</tr>
</table>
<a name="a7" doxytag="AttributeListImpl::getLength"></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>
unsigned int AttributeListImpl::getLength (
</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>
</td>
</tr>
</table>
<a name="a6" doxytag="AttributeListImpl::getMemoryManager"></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>
<a class="el" href="XalanMemoryManagement_8hpp.html#a5">MemoryManagerType</a> &amp; AttributeListImpl::getMemoryManager (
</b></td>
<td valign="bottom"><b>
)
</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="a8" doxytag="AttributeListImpl::getName"></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 XMLCh * AttributeListImpl::getName (
</b></td>
<td valign="bottom"><b>
const unsigned int <em>index</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>
</td>
</tr>
</table>
<a name="a11" doxytag="AttributeListImpl::getType"></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 XMLCh * AttributeListImpl::getType (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>name</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>
</td>
</tr>
</table>
<a name="a9" doxytag="AttributeListImpl::getType"></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 XMLCh * AttributeListImpl::getType (
</b></td>
<td valign="bottom"><b>
const unsigned int <em>index</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>
</td>
</tr>
</table>
<a name="a13" doxytag="AttributeListImpl::getValue"></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 XMLCh * AttributeListImpl::getValue (
</b></td>
<td valign="bottom"><b>
const char *const <em>name</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>
</td>
</tr>
</table>
<a name="a12" doxytag="AttributeListImpl::getValue"></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 XMLCh * AttributeListImpl::getValue (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>name</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>
</td>
</tr>
</table>
<a name="a10" doxytag="AttributeListImpl::getValue"></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 XMLCh * AttributeListImpl::getValue (
</b></td>
<td valign="bottom"><b>
const unsigned int <em>index</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>
</td>
</tr>
</table>
<a name="a5" doxytag="AttributeListImpl::operator="></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>
AttributeListImpl &amp; AttributeListImpl::operator= (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <em>theRHS</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="a4" doxytag="AttributeListImpl::operator="></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>
AttributeListImpl &amp; AttributeListImpl::operator= (
</b></td>
<td valign="bottom"><b>
const AttributeListImpl &amp; <em>theRHS</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="a16" doxytag="AttributeListImpl::removeAttribute"></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 AttributeListImpl::removeAttribute (
</b></td>
<td valign="bottom"><b>
const XMLCh * <em>name</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>
Removes an attribute from the attribute list.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
attribute name </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a18" doxytag="AttributeListImpl::reserve"></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 AttributeListImpl::reserve (
</b></td>
<td valign="bottom"><b>
unsigned int <em>theCount</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Reserve room for the given number of attributes.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theCount</em>
&nbsp;</td><td>
The number to reserve </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a17" doxytag="AttributeListImpl::swap"></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 AttributeListImpl::swap (
</b></td>
<td valign="bottom"><b>
AttributeListImpl &amp; <em>theOther</em>&nbsp;)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Swap the contents of two instances.
<p>
This must _never_ throw an exception.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>thOther</em>
&nbsp;</td><td>
The instance with which to swap. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="AttributeListImpl_8hpp-source.html">AttributeListImpl.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>