<!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::CompositeFileChecker Class 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('classzypp_1_1CompositeFileChecker.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classzypp_1_1CompositeFileChecker-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::CompositeFileChecker Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Checker composed of more checkers. <a href="classzypp_1_1CompositeFileChecker.html#details">More...</a></p> <p><code>#include <<a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>></code></p> <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:a755f5a4a14b73233afcad5528f03a23b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1CompositeFileChecker.html#a755f5a4a14b73233afcad5528f03a23b">add</a> (const <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> &checker)</td></tr> <tr class="separator:a755f5a4a14b73233afcad5528f03a23b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa7a3dca302d850aee1d7dedbc5538b96"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1CompositeFileChecker.html#aa7a3dca302d850aee1d7dedbc5538b96">operator()</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &file) const</td></tr> <tr class="separator:aa7a3dca302d850aee1d7dedbc5538b96"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac34c66135846fa877babaf563d7c2d2b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1CompositeFileChecker.html#ac34c66135846fa877babaf563d7c2d2b">checkersSize</a> () const</td></tr> <tr class="separator:ac34c66135846fa877babaf563d7c2d2b"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:a47ecd90359c143a39690c975bde79cae"><td class="memItemLeft" align="right" valign="top">std::list< <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1CompositeFileChecker.html#a47ecd90359c143a39690c975bde79cae">_checkers</a></td></tr> <tr class="separator:a47ecd90359c143a39690c975bde79cae"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Checker composed of more checkers. </p> <p>Allows to create a checker composed of various checkers altothether. It will only validate if all the checkers validate.</p> <div class="fragment"><div class="line">CompositeFileChecker com;</div><div class="line">com.add(checker1);</div><div class="line">com.add(checker2);</div><div class="line">fetcher.enqueue(location, com);</div></div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="FileChecker_8h_source.html#l00192">192</a> of file <a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="a755f5a4a14b73233afcad5528f03a23b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a755f5a4a14b73233afcad5528f03a23b">◆ </a></span>add()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void zypp::CompositeFileChecker::add </td> <td>(</td> <td class="paramtype">const <a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a> & </td> <td class="paramname"><em>checker</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="FileChecker_8cc_source.html#l00108">108</a> of file <a class="el" href="FileChecker_8cc_source.html">FileChecker.cc</a>.</p> </div> </div> <a id="aa7a3dca302d850aee1d7dedbc5538b96"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa7a3dca302d850aee1d7dedbc5538b96">◆ </a></span>operator()()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void zypp::CompositeFileChecker::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> & </td> <td class="paramname"><em>file</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classzypp_1_1FileCheckException.html">FileCheckException</a></td><td>if validation fails </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="FileChecker_8cc_source.html#l00091">91</a> of file <a class="el" href="FileChecker_8cc_source.html">FileChecker.cc</a>.</p> </div> </div> <a id="ac34c66135846fa877babaf563d7c2d2b"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac34c66135846fa877babaf563d7c2d2b">◆ </a></span>checkersSize()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int zypp::CompositeFileChecker::checkersSize </td> <td>(</td> <td class="paramname"></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="FileChecker_8h_source.html#l00201">201</a> of file <a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a47ecd90359c143a39690c975bde79cae"></a> <h2 class="memtitle"><span class="permalink"><a href="#a47ecd90359c143a39690c975bde79cae">◆ </a></span>_checkers</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::list<<a class="el" href="namespacezypp.html#ae95ba3a6af05a2b35ed49092f78ce2b3">FileChecker</a>> zypp::CompositeFileChecker::_checkers</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="FileChecker_8h_source.html#l00203">203</a> of file <a class="el" href="FileChecker_8h_source.html">FileChecker.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>zypp/<a class="el" href="FileChecker_8h_source.html">FileChecker.h</a></li> <li>zypp/<a class="el" href="FileChecker_8cc_source.html">FileChecker.cc</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="classzypp_1_1CompositeFileChecker.html">CompositeFileChecker</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>