<!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::ZYppFactory 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_1ZYppFactory.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-static-methods">Static Public Member Functions</a> | <a href="#pri-methods">Private Member Functions</a> | <a href="#friends">Friends</a> | <a href="#related">Related Functions</a> | <a href="classzypp_1_1ZYppFactory-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::ZYppFactory Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classzypp_1_1ZYpp.html">ZYpp</a> factory class (Singleton) <a href="classzypp_1_1ZYppFactory.html#details">More...</a></p> <p><code>#include <<a class="el" href="ZYppFactory_8h_source.html">ZYppFactory.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:a9fdc84b76ce4ed06e0540097b92795b7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#a9fdc84b76ce4ed06e0540097b92795b7">~ZYppFactory</a> ()</td></tr> <tr class="memdesc:a9fdc84b76ce4ed06e0540097b92795b7"><td class="mdescLeft"> </td><td class="mdescRight">Dtor. <a href="#a9fdc84b76ce4ed06e0540097b92795b7">More...</a><br /></td></tr> <tr class="separator:a9fdc84b76ce4ed06e0540097b92795b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a65442f900ce19daf2aaeb88a4dec7dcf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1ZYpp.html#ae03aa4e75f85bea1850a8d660bcd1421">ZYpp::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#a65442f900ce19daf2aaeb88a4dec7dcf">getZYpp</a> () const</td></tr> <tr class="separator:a65442f900ce19daf2aaeb88a4dec7dcf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1cef52581f9554d162c545ce3b80f0df"><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="classzypp_1_1ZYppFactory.html#a1cef52581f9554d162c545ce3b80f0df">haveZYpp</a> () const</td></tr> <tr class="memdesc:a1cef52581f9554d162c545ce3b80f0df"><td class="mdescLeft"> </td><td class="mdescRight">Whether the <a class="el" href="classzypp_1_1ZYpp.html">ZYpp</a> instance is already created. <a href="#a1cef52581f9554d162c545ce3b80f0df">More...</a><br /></td></tr> <tr class="separator:a1cef52581f9554d162c545ce3b80f0df"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a169e42e7766150d1c7257a16eb4ae7f4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classzypp_1_1ZYppFactory.html">ZYppFactory</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#a169e42e7766150d1c7257a16eb4ae7f4">instance</a> ()</td></tr> <tr class="memdesc:a169e42e7766150d1c7257a16eb4ae7f4"><td class="mdescLeft"> </td><td class="mdescRight">Singleton ctor. <a href="#a169e42e7766150d1c7257a16eb4ae7f4">More...</a><br /></td></tr> <tr class="separator:a169e42e7766150d1c7257a16eb4ae7f4"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a> Private Member Functions</h2></td></tr> <tr class="memitem:adf9737a8b2fd77e48c0ce9e3e0aadcbd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#adf9737a8b2fd77e48c0ce9e3e0aadcbd">ZYppFactory</a> ()</td></tr> <tr class="memdesc:adf9737a8b2fd77e48c0ce9e3e0aadcbd"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor. <a href="#adf9737a8b2fd77e48c0ce9e3e0aadcbd">More...</a><br /></td></tr> <tr class="separator:adf9737a8b2fd77e48c0ce9e3e0aadcbd"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:afd3452c2c0b039027a2d157e0fffd13a"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#afd3452c2c0b039027a2d157e0fffd13a">operator<<</a> (std::ostream &str, const <a class="el" href="classzypp_1_1ZYppFactory.html">ZYppFactory</a> &obj)</td></tr> <tr class="separator:afd3452c2c0b039027a2d157e0fffd13a"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:af724820ea16fb3ffe5c9efb9d20ef266"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#af724820ea16fb3ffe5c9efb9d20ef266">operator<<</a> (std::ostream &str, const <a class="el" href="classzypp_1_1ZYppFactory.html">ZYppFactory</a> &obj)</td></tr> <tr class="separator:af724820ea16fb3ffe5c9efb9d20ef266"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a267738b80e63977c1862696eebbc0732"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1ZYpp.html#ae03aa4e75f85bea1850a8d660bcd1421">ZYpp::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1ZYppFactory.html#a267738b80e63977c1862696eebbc0732">getZYpp</a> ()</td></tr> <tr class="separator:a267738b80e63977c1862696eebbc0732"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classzypp_1_1ZYpp.html">ZYpp</a> factory class (Singleton) </p> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8h_source.html#l00043">43</a> of file <a class="el" href="ZYppFactory_8h_source.html">ZYppFactory.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a9fdc84b76ce4ed06e0540097b92795b7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9fdc84b76ce4ed06e0540097b92795b7">◆ </a></span>~ZYppFactory()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">zypp::ZYppFactory::~ZYppFactory </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Dtor. </p> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00348">348</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <a id="adf9737a8b2fd77e48c0ce9e3e0aadcbd"></a> <h2 class="memtitle"><span class="permalink"><a href="#adf9737a8b2fd77e48c0ce9e3e0aadcbd">◆ </a></span>ZYppFactory()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">zypp::ZYppFactory::ZYppFactory </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></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>Default ctor. </p> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00345">345</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a169e42e7766150d1c7257a16eb4ae7f4"></a> <h2 class="memtitle"><span class="permalink"><a href="#a169e42e7766150d1c7257a16eb4ae7f4">◆ </a></span>instance()</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="classzypp_1_1ZYppFactory.html">ZYppFactory</a> zypp::ZYppFactory::instance </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Singleton ctor. </p> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00342">342</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <a id="a65442f900ce19daf2aaeb88a4dec7dcf"></a> <h2 class="memtitle"><span class="permalink"><a href="#a65442f900ce19daf2aaeb88a4dec7dcf">◆ </a></span>getZYpp()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classzypp_1_1ZYpp.html#ae03aa4e75f85bea1850a8d660bcd1421">ZYpp::Ptr</a> zypp::ZYppFactory::getZYpp </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Pointer to the <a class="el" href="classzypp_1_1ZYpp.html">ZYpp</a> instance. </dd></dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname">EXCEPTION</td><td>In case we can't acquire a lock. </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00353">353</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <a id="a1cef52581f9554d162c545ce3b80f0df"></a> <h2 class="memtitle"><span class="permalink"><a href="#a1cef52581f9554d162c545ce3b80f0df">◆ </a></span>haveZYpp()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classbool.html">bool</a> zypp::ZYppFactory::haveZYpp </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Whether the <a class="el" href="classzypp_1_1ZYpp.html">ZYpp</a> instance is already created. </p> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00420">420</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a id="afd3452c2c0b039027a2d157e0fffd13a"></a> <h2 class="memtitle"><span class="permalink"><a href="#afd3452c2c0b039027a2d157e0fffd13a">◆ </a></span>operator<< <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">std::ostream& operator<< </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"><em>str</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classzypp_1_1ZYppFactory.html">ZYppFactory</a> & </td> <td class="paramname"><em>obj</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">friend</span></span> </td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00428">428</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <a id="af724820ea16fb3ffe5c9efb9d20ef266"></a> <h2 class="memtitle"><span class="permalink"><a href="#af724820ea16fb3ffe5c9efb9d20ef266">◆ </a></span>operator<<() <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">std::ostream & operator<< </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"><em>str</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classzypp_1_1ZYppFactory.html">ZYppFactory</a> & </td> <td class="paramname"><em>obj</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Stream output </p> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8cc_source.html#l00428">428</a> of file <a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.cc</a>.</p> </div> </div> <a id="a267738b80e63977c1862696eebbc0732"></a> <h2 class="memtitle"><span class="permalink"><a href="#a267738b80e63977c1862696eebbc0732">◆ </a></span>getZYpp()</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="classzypp_1_1ZYpp.html#ae03aa4e75f85bea1850a8d660bcd1421">ZYpp::Ptr</a> getZYpp </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Convenience to get the Pointer to the <a class="el" href="classzypp_1_1ZYpp.html">ZYpp</a> instance. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classzypp_1_1ZYppFactory.html#a65442f900ce19daf2aaeb88a4dec7dcf">ZYppFactory::getZYpp</a> </dd></dl> <p class="definition">Definition at line <a class="el" href="ZYppFactory_8h_source.html#l00075">75</a> of file <a class="el" href="ZYppFactory_8h_source.html">ZYppFactory.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>zypp/<a class="el" href="ZYppFactory_8h_source.html">ZYppFactory.h</a></li> <li>zypp/<a class="el" href="ZYppFactory_8cc_source.html">ZYppFactory.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_1ZYppFactory.html">ZYppFactory</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>