Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 3c90d4f0807cc46df5c0517e9fe40564 > files > 1775

xalan-c-doc-1.4-2mdk.ppc.rpm

<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.4</h3>
</BODY>
<!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:32:01 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</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>less_null_terminated_arrays  Struct Reference</h1>This functor is designed to compare 0-terminated arrays. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="STLHelper.hpp-source.html">STLHelper.hpp</a>&gt;</code>
<p>
<p>Inheritance diagram for less_null_terminated_arrays:
<p><center><img src="class_less_null_terminated_arrays.gif" usemap="#less_null_terminated_arrays_map" border="0"></center>
<map name="less_null_terminated_arrays_map"><p>
<area href="class_std__binary_function.html" alt="std::binary_function" shape="rect" coords="0,0,276,24">
</map>
Collaboration diagram for less_null_terminated_arrays:<p><center><img src="class_less_null_terminated_arrays_coll_graph.gif" border="0" usemap="#less_null_terminated_arrays_impl_map"></center>
<map name="less_null_terminated_arrays_impl_map">
<area href="class_std__binary_function.html" shape="rect" coords="31,37,151,16">
</map><p>
<a href="class_less_null_terminated_arrays-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef <a class="el" href="class_std__binary_function.html">std::binary_function</a>&lt;const T*, const T*, bool&gt; <a class="el" href="class_less_null_terminated_arrays.html#s0">BaseClassType</a>
<li>typedef BaseClassType::result_type <a class="el" href="class_less_null_terminated_arrays.html#s1">result_type</a>
<li>typedef BaseClassType::first_argument_type <a class="el" href="class_less_null_terminated_arrays.html#s2">first_argument_type</a>
<li>typedef BaseClassType::second_argument_type <a class="el" href="class_less_null_terminated_arrays.html#s3">second_argument_type</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="class_less_null_terminated_arrays.html#s1">result_type</a> <a class="el" href="class_less_null_terminated_arrays.html#a0">operator()</a> ( <a class="el" href="class_less_null_terminated_arrays.html#s2">first_argument_type</a> theLHS, <a class="el" href="class_less_null_terminated_arrays.html#s3">second_argument_type</a> theRHS) const
<dl class="el"><dd><font size=-1><em>Compare the values of two objects.</em> <a href="#a0">More...</a><em></em></font></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T&gt;  struct less_null_terminated_arrays</h3>

This functor is designed to compare 0-terminated arrays.
<p>
It substitutes
 for the default less&lt;type*&gt; so that pointers to arrays can be compared,
 rather than copies of arrays. For example, you might want to use C-style
 strings as keys in a map, rather than string objects. The default
 algorithm less&lt;const char*&gt; would just compare the pointers, and not the
 vector of characters to which it points. Using this algorithm instead of
 the default will allow the map to work as expected.

<p>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="less_null_terminated_arrays::BaseClassType"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
template&lt;class T&gt; <br>
typedef <a class="el" href="class_std__binary_function.html">std::binary_function</a>&lt;const T*, const T*, bool&gt; less_null_terminated_arrays&lt;T&gt;::BaseClassType</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="s2" doxytag="less_null_terminated_arrays::first_argument_type"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
template&lt;class T&gt; <br>
typedef BaseClassType::first_argument_type less_null_terminated_arrays&lt;T&gt;::first_argument_type</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="s1" doxytag="less_null_terminated_arrays::result_type"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
template&lt;class T&gt; <br>
typedef BaseClassType::result_type less_null_terminated_arrays&lt;T&gt;::result_type</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<a name="s3" doxytag="less_null_terminated_arrays::second_argument_type"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
template&lt;class T&gt; <br>
typedef BaseClassType::second_argument_type less_null_terminated_arrays&lt;T&gt;::second_argument_type</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
</div>
<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="less_null_terminated_arrays::operator()"><p>
<table width=100% cellpadding=2 cellspacing=0 border=0>
  <tr>
    <td class="md"><b>
      <table cellspadding=0 cellspacing=0 border=0>
        <tr>
          <td><b>
template&lt;class T&gt; <br>
<a class="el" href="class_less_null_terminated_arrays.html#s1">result_type</a> less_null_terminated_arrays&lt;T&gt;::operator() (
</b></td>
<td><b>
<a class="el" href="class_less_null_terminated_arrays.html#s2">first_argument_type</a> <em>theLHS</em>, </b></td></tr>
<tr><td></td><td><b>
<a class="el" href="class_less_null_terminated_arrays.html#s3">second_argument_type</a> <em>theRHS</em>) const</b></td></tr>

          </b></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</a>
<div class="in">

<p>
Compare the values of two objects.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>theLHS</em>
&nbsp;</td><td>
 first object to compare
 </td></tr>
<tr><td valign=top><em>theRHS</em>
&nbsp;</td><td>
 second object to compare
 </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
 true if objects are the same
</dl></div>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="STLHelper.hpp.html">STLHelper.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="images/dot.gif" width="1"></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.4</B><BR>
			Copyright &copy; 2000, 2001, 2002 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">
		</TD>
	</TR>
</TABLE>