| <!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 Page</span></a></li> |
| <li><a href="pages.html"><span>Related 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 List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-types">Public Types</a> | |
| <a href="#pub-methods">Public Member Functions</a> </div> |
| <div class="headertitle"> |
| <h1>select1st< PairType > Struct Template Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="select1st" --> |
| <p>Functor to retrieve the key of a key-value pair in a map, used in STL iteration algorithms. |
| <a href="#_details">More...</a></p> |
| |
| <p><code>#include <<a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>></code></p> |
| |
| <p><a href="structselect1st-members.html">List of all members.</a></p> |
| <h2><a name="pub-types"></a> |
| Public Types</h2> |
| <ul> |
| <li>typedef std::unary_function<br class="typebreak"/> |
| < PairType, typename <br class="typebreak"/> |
| PairType::first_type > <a class="el" href="structselect1st.html#a8d65157c7d6fa3d235c3710cf65b8aa1">BaseClassType</a> |
| <li>typedef BaseClassType::result_type <a class="el" href="structselect1st.html#ab2aeb5601f0ec265f8dafb8217576930">result_type</a> |
| <li>typedef <br class="typebreak"/> |
| BaseClassType::argument_type <a class="el" href="structselect1st.html#a01db280a1d7401c4b6b603a9b9b72a17">argument_type</a> |
| <li>typedef PairType <a class="el" href="structselect1st.html#aba6f9f7b3416e1d106cbe7e78ea9ef5a">value_type</a> |
| </ul> |
| <h2><a name="pub-methods"></a> |
| Public Member Functions</h2> |
| <ul> |
| <li><a class="el" href="structselect1st.html#ab2aeb5601f0ec265f8dafb8217576930">result_type</a> <a class="el" href="structselect1st.html#a675cd967abb9c484c4c7b43f1881731c">operator()</a> (const <a class="el" href="structselect1st.html#a01db280a1d7401c4b6b603a9b9b72a17">argument_type</a> &thePair) const |
| <dl class="el"><dd class="mdescRight">Retrieve the key of a key-value pair. <a href="#a675cd967abb9c484c4c7b43f1881731c"></a><br/></dl></ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| <h3>template<class PairType><br/> |
| struct select1st< PairType ></h3> |
| |
| <p>Functor to retrieve the key of a key-value pair in a map, used in STL iteration algorithms. </p> |
| |
| <p>Definition at line <a class="el" href="STLHelper_8hpp_source.html#l00148">148</a> of file <a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>.</p> |
| <hr/><h2>Member Typedef Documentation</h2> |
| <a class="anchor" id="a01db280a1d7401c4b6b603a9b9b72a17"></a><!-- doxytag: member="select1st::argument_type" ref="a01db280a1d7401c4b6b603a9b9b72a17" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class PairType > </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef BaseClassType::argument_type <a class="el" href="structselect1st.html">select1st</a>< PairType >::<a class="el" href="structselect1st.html#a01db280a1d7401c4b6b603a9b9b72a17">argument_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="STLHelper_8hpp_source.html#l00158">158</a> of file <a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8d65157c7d6fa3d235c3710cf65b8aa1"></a><!-- doxytag: member="select1st::BaseClassType" ref="a8d65157c7d6fa3d235c3710cf65b8aa1" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class PairType > </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef std::unary_function<PairType, typename PairType::first_type> <a class="el" href="structselect1st.html">select1st</a>< PairType >::<a class="el" href="structselect1st.html#a8d65157c7d6fa3d235c3710cf65b8aa1">BaseClassType</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="STLHelper_8hpp_source.html#l00154">154</a> of file <a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab2aeb5601f0ec265f8dafb8217576930"></a><!-- doxytag: member="select1st::result_type" ref="ab2aeb5601f0ec265f8dafb8217576930" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class PairType > </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef BaseClassType::result_type <a class="el" href="structselect1st.html">select1st</a>< PairType >::<a class="el" href="structselect1st.html#ab2aeb5601f0ec265f8dafb8217576930">result_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="STLHelper_8hpp_source.html#l00157">157</a> of file <a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aba6f9f7b3416e1d106cbe7e78ea9ef5a"></a><!-- doxytag: member="select1st::value_type" ref="aba6f9f7b3416e1d106cbe7e78ea9ef5a" args="" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class PairType > </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname">typedef PairType <a class="el" href="structselect1st.html">select1st</a>< PairType >::<a class="el" href="structselect1st.html#aba6f9f7b3416e1d106cbe7e78ea9ef5a">value_type</a></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="STLHelper_8hpp_source.html#l00160">160</a> of file <a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="a675cd967abb9c484c4c7b43f1881731c"></a><!-- doxytag: member="select1st::operator()" ref="a675cd967abb9c484c4c7b43f1881731c" args="(const argument_type &thePair) const " --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <div class="memtemplate"> |
| template<class PairType > </div> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="structselect1st.html#ab2aeb5601f0ec265f8dafb8217576930">result_type</a> <a class="el" href="structselect1st.html">select1st</a>< PairType >::operator() </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="structselect1st.html#a01db280a1d7401c4b6b603a9b9b72a17">argument_type</a> & </td> |
| <td class="paramname"> <em>thePair</em></td> |
| <td> ) </td> |
| <td> const<code> [inline]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Retrieve the key of a key-value pair. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>thePair</em> </td><td>key-value pair </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>key </dd></dl> |
| |
| <p>Definition at line <a class="el" href="STLHelper_8hpp_source.html#l00169">169</a> of file <a class="el" href="STLHelper_8hpp_source.html">STLHelper.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this struct was generated from the following file:<ul> |
| <li><a class="el" href="STLHelper_8hpp_source.html">STLHelper.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 © 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> |