<!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::_logtoolsdetail::DumpKeys< TMap > Class Template 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_1__logtoolsdetail_1_1DumpKeys.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="#related">Related Functions</a> | <a href="classzypp_1_1__logtoolsdetail_1_1DumpKeys-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::_logtoolsdetail::DumpKeys< TMap > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>std::map wrapper for stream output of keys. <a href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#details">More...</a></p> <p><code>#include <<a class="el" href="LogTools_8h_source.html">LogTools.h</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:acdf0df0c9c185bdee7e3414fc8e4818c"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structzypp_1_1MapKVIteratorTraits.html">MapKVIteratorTraits</a>< TMap >::Key_const_iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acdf0df0c9c185bdee7e3414fc8e4818c">MapKey_const_iterator</a></td></tr> <tr class="separator:acdf0df0c9c185bdee7e3414fc8e4818c"><td class="memSeparator" colspan="2"> </td></tr> </table><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:a755b221f9729e01773a1e9df25995be8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#a755b221f9729e01773a1e9df25995be8">DumpKeys</a> (const TMap &map_r)</td></tr> <tr class="separator:a755b221f9729e01773a1e9df25995be8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afdddb3c197649ca7e52c5d443198de01"><td class="memItemLeft" align="right" valign="top">const TMap & </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#afdddb3c197649ca7e52c5d443198de01">map</a> () const</td></tr> <tr class="separator:afdddb3c197649ca7e52c5d443198de01"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf9435b208c3b997f20de235f981d34f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acdf0df0c9c185bdee7e3414fc8e4818c">MapKey_const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acf9435b208c3b997f20de235f981d34f">begin</a> () const</td></tr> <tr class="separator:acf9435b208c3b997f20de235f981d34f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0ec44023e958cf152f3a333ca947c7c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acdf0df0c9c185bdee7e3414fc8e4818c">MapKey_const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#a0ec44023e958cf152f3a333ca947c7c7">end</a> () const</td></tr> <tr class="separator:a0ec44023e958cf152f3a333ca947c7c7"><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:ace463e07e017e4d9fe84aebc5c374ff1"><td class="memItemLeft" align="right" valign="top">const TMap *const </td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#ace463e07e017e4d9fe84aebc5c374ff1">_map</a></td></tr> <tr class="separator:ace463e07e017e4d9fe84aebc5c374ff1"><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:aefb4eab54ac4c939b6175fe30540bfb3"><td class="memTemplParams" colspan="2">template<class TMap > </td></tr> <tr class="memitem:aefb4eab54ac4c939b6175fe30540bfb3"><td class="memTemplItemLeft" align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#aefb4eab54ac4c939b6175fe30540bfb3">operator<<</a> (std::ostream &str, const <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">DumpKeys</a>< TMap > &obj)</td></tr> <tr class="separator:aefb4eab54ac4c939b6175fe30540bfb3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a34d3c2757dc2649262ab2dc6ec740ff8"><td class="memTemplParams" colspan="2">template<class TMap > </td></tr> <tr class="memitem:a34d3c2757dc2649262ab2dc6ec740ff8"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">DumpKeys</a>< TMap > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#a34d3c2757dc2649262ab2dc6ec740ff8">dumpKeys</a> (const TMap &map_r)</td></tr> <tr class="separator:a34d3c2757dc2649262ab2dc6ec740ff8"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class TMap><br /> class zypp::_logtoolsdetail::DumpKeys< TMap ></h3> <p>std::map wrapper for stream output of keys. </p> <p>Uses MapKVIterator iterate and write the key values. </p><div class="fragment"><div class="line">std::map<...> mymap;</div><div class="line">std::cout << <a class="code" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#a34d3c2757dc2649262ab2dc6ec740ff8">dumpKeys</a>(mymap) << std::endl;</div></div><!-- fragment --> <p class="definition">Definition at line <a class="el" href="LogTools_8h_source.html#l00293">293</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="acdf0df0c9c185bdee7e3414fc8e4818c"></a> <h2 class="memtitle"><span class="permalink"><a href="#acdf0df0c9c185bdee7e3414fc8e4818c">◆ </a></span>MapKey_const_iterator</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structzypp_1_1MapKVIteratorTraits.html">MapKVIteratorTraits</a><TMap>::Key_const_iterator <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">zypp::_logtoolsdetail::DumpKeys</a>< TMap >::<a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acdf0df0c9c185bdee7e3414fc8e4818c">MapKey_const_iterator</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="LogTools_8h_source.html#l00296">296</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a755b221f9729e01773a1e9df25995be8"></a> <h2 class="memtitle"><span class="permalink"><a href="#a755b221f9729e01773a1e9df25995be8">◆ </a></span>DumpKeys()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">zypp::_logtoolsdetail::DumpKeys</a>< TMap >::<a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">DumpKeys</a> </td> <td>(</td> <td class="paramtype">const TMap & </td> <td class="paramname"><em>map_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="LogTools_8h_source.html#l00299">299</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="afdddb3c197649ca7e52c5d443198de01"></a> <h2 class="memtitle"><span class="permalink"><a href="#afdddb3c197649ca7e52c5d443198de01">◆ </a></span>map()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const TMap& <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">zypp::_logtoolsdetail::DumpKeys</a>< TMap >::map </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="LogTools_8h_source.html#l00303">303</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <a id="acf9435b208c3b997f20de235f981d34f"></a> <h2 class="memtitle"><span class="permalink"><a href="#acf9435b208c3b997f20de235f981d34f">◆ </a></span>begin()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acdf0df0c9c185bdee7e3414fc8e4818c">MapKey_const_iterator</a> <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">zypp::_logtoolsdetail::DumpKeys</a>< TMap >::begin </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="LogTools_8h_source.html#l00306">306</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <a id="a0ec44023e958cf152f3a333ca947c7c7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a0ec44023e958cf152f3a333ca947c7c7">◆ </a></span>end()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html#acdf0df0c9c185bdee7e3414fc8e4818c">MapKey_const_iterator</a> <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">zypp::_logtoolsdetail::DumpKeys</a>< TMap >::end </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="LogTools_8h_source.html#l00309">309</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a id="aefb4eab54ac4c939b6175fe30540bfb3"></a> <h2 class="memtitle"><span class="permalink"><a href="#aefb4eab54ac4c939b6175fe30540bfb3">◆ </a></span>operator<<()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap > </div> <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_1__logtoolsdetail_1_1DumpKeys.html">DumpKeys</a>< TMap > & </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="LogTools_8h_source.html#l00318">318</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <a id="a34d3c2757dc2649262ab2dc6ec740ff8"></a> <h2 class="memtitle"><span class="permalink"><a href="#a34d3c2757dc2649262ab2dc6ec740ff8">◆ </a></span>dumpKeys()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">DumpKeys</a>< TMap > dumpKeys </td> <td>(</td> <td class="paramtype">const TMap & </td> <td class="paramname"><em>map_r</em></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 function to create <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html" title="std::map wrapper for stream output of keys.">DumpKeys</a> from std::map. </p> <p class="definition">Definition at line <a class="el" href="LogTools_8h_source.html#l00323">323</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="ace463e07e017e4d9fe84aebc5c374ff1"></a> <h2 class="memtitle"><span class="permalink"><a href="#ace463e07e017e4d9fe84aebc5c374ff1">◆ </a></span>_map</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class TMap> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const TMap* const <a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">zypp::_logtoolsdetail::DumpKeys</a>< TMap >::_map</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="LogTools_8h_source.html#l00313">313</a> of file <a class="el" href="LogTools_8h_source.html">LogTools.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>zypp/base/<a class="el" href="LogTools_8h_source.html">LogTools.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_1__logtoolsdetail.html">_logtoolsdetail</a></li><li class="navelem"><a class="el" href="classzypp_1_1__logtoolsdetail_1_1DumpKeys.html">DumpKeys</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>