<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>libzypp: zypp::resfilter::ByName Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">libzypp  <span id="projectnumber">17.9.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('structzypp_1_1resfilter_1_1ByName.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> | <a href="structzypp_1_1resfilter_1_1ByName-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::resfilter::ByName Struct Reference<div class="ingroups"><a class="el" href="group__g__Functor.html">Filters and Functors</a> » <a class="el" href="group__RESFILTERS.html">Filter functors operating on ResObjects.</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Select <a class="el" href="classzypp_1_1ResObject.html" title="Base for resolvable objects.">ResObject</a> by name. <a href="structzypp_1_1resfilter_1_1ByName.html#details">More...</a></p> <p><code>#include <<a class="el" href="ResFilters_8h_source.html">ResFilters.h</a>></code></p> <div class="dynheader"> Inheritance diagram for zypp::resfilter::ByName:</div> <div class="dyncontent"> <div class="center"><img src="structzypp_1_1resfilter_1_1ByName__inherit__graph.png" border="0" usemap="#zypp_1_1resfilter_1_1ByName_inherit__map" alt="Inheritance graph"/></div> <map name="zypp_1_1resfilter_1_1ByName_inherit__map" id="zypp_1_1resfilter_1_1ByName_inherit__map"> <area shape="rect" title="Select ResObject by name." alt="" coords="5,80,169,107"/> <area shape="rect" href="classResObjectFilterFunctor.html" title=" " alt="" coords="6,5,169,32"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:ab36bcf9a226f4f674d87e3cc962d074d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resfilter_1_1ByName.html#ab36bcf9a226f4f674d87e3cc962d074d">ByName</a> ()</td></tr> <tr class="separator:ab36bcf9a226f4f674d87e3cc962d074d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0e4c3c730e6345377f55e90d65c578ab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resfilter_1_1ByName.html#a0e4c3c730e6345377f55e90d65c578ab">ByName</a> (const std::string &name_r)</td></tr> <tr class="separator:a0e4c3c730e6345377f55e90d65c578ab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af27094696819fb0f7b2b81623568b92c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resfilter_1_1ByName.html#af27094696819fb0f7b2b81623568b92c">operator()</a> (<a class="el" href="classzypp_1_1ResObject.html#a8f7aeed4169bb5add73fffa2413b633f">ResObject::constPtr</a> p) const</td></tr> <tr class="separator:af27094696819fb0f7b2b81623568b92c"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr class="memitem:aeb5a22394d06ef6e72fea8d788b67a22"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1resfilter_1_1ByName.html#aeb5a22394d06ef6e72fea8d788b67a22">_name</a></td></tr> <tr class="separator:aeb5a22394d06ef6e72fea8d788b67a22"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Select <a class="el" href="classzypp_1_1ResObject.html" title="Base for resolvable objects.">ResObject</a> by name. </p> <p class="definition">Definition at line <a class="el" href="ResFilters_8h_source.html#l00160">160</a> of file <a class="el" href="ResFilters_8h_source.html">ResFilters.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="ab36bcf9a226f4f674d87e3cc962d074d"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab36bcf9a226f4f674d87e3cc962d074d">◆ </a></span>ByName() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::resfilter::ByName::ByName </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="ResFilters_8h_source.html#l00162">162</a> of file <a class="el" href="ResFilters_8h_source.html">ResFilters.h</a>.</p> </div> </div> <a id="a0e4c3c730e6345377f55e90d65c578ab"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0e4c3c730e6345377f55e90d65c578ab">◆ </a></span>ByName() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::resfilter::ByName::ByName </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>name_r</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="ResFilters_8h_source.html#l00165">165</a> of file <a class="el" href="ResFilters_8h_source.html">ResFilters.h</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="af27094696819fb0f7b2b81623568b92c"></a> <h2 class="memtitle"><span class="permalink"><a href="#af27094696819fb0f7b2b81623568b92c">◆ </a></span>operator()()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classbool.html">bool</a> zypp::resfilter::ByName::operator() </td> <td>(</td> <td class="paramtype"><a class="el" href="classzypp_1_1ResObject.html#a8f7aeed4169bb5add73fffa2413b633f">ResObject::constPtr</a> </td> <td class="paramname"><em>p</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="ResFilters_8h_source.html#l00169">169</a> of file <a class="el" href="ResFilters_8h_source.html">ResFilters.h</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="aeb5a22394d06ef6e72fea8d788b67a22"></a> <h2 class="memtitle"><span class="permalink"><a href="#aeb5a22394d06ef6e72fea8d788b67a22">◆ </a></span>_name</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string zypp::resfilter::ByName::_name</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="ResFilters_8h_source.html#l00174">174</a> of file <a class="el" href="ResFilters_8h_source.html">ResFilters.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>zypp/<a class="el" href="ResFilters_8h_source.html">ResFilters.h</a></li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespacezypp.html">zypp</a></li><li class="navelem"><a class="el" href="namespacezypp_1_1resfilter.html">resfilter</a></li><li class="navelem"><a class="el" href="structzypp_1_1resfilter_1_1ByName.html">ByName</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> </ul> </div> </body> </html>