<!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::exception_detail::CodeLocation 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_1exception__detail_1_1CodeLocation.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="#friends">Friends</a> | <a href="#related">Related Functions</a> | <a href="structzypp_1_1exception__detail_1_1CodeLocation-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">zypp::exception_detail::CodeLocation Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>Keep <em>FILE</em>, <em>FUNCTION</em> and <em>LINE</em>. <a href="structzypp_1_1exception__detail_1_1CodeLocation.html#details">More...</a></p> <p><code>#include <<a class="el" href="Exception_8h_source.html">Exception.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:a2d20b14481ecdf61d77f912651927f3b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#a2d20b14481ecdf61d77f912651927f3b">CodeLocation</a> ()</td></tr> <tr class="memdesc:a2d20b14481ecdf61d77f912651927f3b"><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <a href="#a2d20b14481ecdf61d77f912651927f3b">More...</a><br /></td></tr> <tr class="separator:a2d20b14481ecdf61d77f912651927f3b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a060a9f67e285386067d0e29e804a322f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#a060a9f67e285386067d0e29e804a322f">CodeLocation</a> (const std::string &file_r, const std::string &func_r, unsigned line_r)</td></tr> <tr class="memdesc:a060a9f67e285386067d0e29e804a322f"><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <a href="#a060a9f67e285386067d0e29e804a322f">More...</a><br /></td></tr> <tr class="separator:a060a9f67e285386067d0e29e804a322f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a73e81cf5d5ef55e0d86b6ef2f30f46bb"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#a73e81cf5d5ef55e0d86b6ef2f30f46bb">asString</a> () const</td></tr> <tr class="memdesc:a73e81cf5d5ef55e0d86b6ef2f30f46bb"><td class="mdescLeft"> </td><td class="mdescRight">Location as string. <a href="#a73e81cf5d5ef55e0d86b6ef2f30f46bb">More...</a><br /></td></tr> <tr class="separator:a73e81cf5d5ef55e0d86b6ef2f30f46bb"><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:a4bdecd258180e6ab5b7dc83894988cb6"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#a4bdecd258180e6ab5b7dc83894988cb6">_file</a></td></tr> <tr class="separator:a4bdecd258180e6ab5b7dc83894988cb6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae07614151a46fab3f7bc4163264ed605"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#ae07614151a46fab3f7bc4163264ed605">_func</a></td></tr> <tr class="separator:ae07614151a46fab3f7bc4163264ed605"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8a7af7d11c150a735dbd133506afcc50"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#a8a7af7d11c150a735dbd133506afcc50">_line</a></td></tr> <tr class="separator:a8a7af7d11c150a735dbd133506afcc50"><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:abb3c80d0b350dd3d0974815542821301"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#abb3c80d0b350dd3d0974815542821301">operator<<</a> (std::ostream &str, const <a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html">CodeLocation</a> &obj)</td></tr> <tr class="separator:abb3c80d0b350dd3d0974815542821301"><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:a2628be4d6f911ccdee677671f7021095"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html#a2628be4d6f911ccdee677671f7021095">operator<<</a> (std::ostream &str, const <a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html">CodeLocation</a> &obj)</td></tr> <tr class="separator:a2628be4d6f911ccdee677671f7021095"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Keep <em>FILE</em>, <em>FUNCTION</em> and <em>LINE</em>. </p> <p>Construct it using the <a class="el" href="Exception_8h.html#a3de26a04b4a7cfe43403e7d773ef6a4b">ZYPP_EX_CODELOCATION</a> macro. </p> <p class="definition">Definition at line <a class="el" href="Exception_8h_source.html#l00034">34</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a2d20b14481ecdf61d77f912651927f3b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2d20b14481ecdf61d77f912651927f3b">◆ </a></span>CodeLocation() <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::exception_detail::CodeLocation::CodeLocation </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>Ctor. </p> <p class="definition">Definition at line <a class="el" href="Exception_8h_source.html#l00039">39</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </div> </div> <a id="a060a9f67e285386067d0e29e804a322f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a060a9f67e285386067d0e29e804a322f">◆ </a></span>CodeLocation() <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::exception_detail::CodeLocation::CodeLocation </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>file_r</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>func_r</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"><em>line_r</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">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Ctor. </p> <p class="definition">Definition at line <a class="el" href="Exception_8h_source.html#l00044">44</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a73e81cf5d5ef55e0d86b6ef2f30f46bb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a73e81cf5d5ef55e0d86b6ef2f30f46bb">◆ </a></span>asString()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string zypp::exception_detail::CodeLocation::asString </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Location as string. </p> <p class="definition">Definition at line <a class="el" href="Exception_8cc_source.html#l00030">30</a> of file <a class="el" href="Exception_8cc_source.html">Exception.cc</a>.</p> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a id="abb3c80d0b350dd3d0974815542821301"></a> <h2 class="memtitle"><span class="permalink"><a href="#abb3c80d0b350dd3d0974815542821301">◆ </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="structzypp_1_1exception__detail_1_1CodeLocation.html">CodeLocation</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="Exception_8cc_source.html#l00038">38</a> of file <a class="el" href="Exception_8cc_source.html">Exception.cc</a>.</p> </div> </div> <a id="a2628be4d6f911ccdee677671f7021095"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2628be4d6f911ccdee677671f7021095">◆ </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="structzypp_1_1exception__detail_1_1CodeLocation.html">CodeLocation</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="Exception_8cc_source.html#l00038">38</a> of file <a class="el" href="Exception_8cc_source.html">Exception.cc</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a id="a4bdecd258180e6ab5b7dc83894988cb6"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4bdecd258180e6ab5b7dc83894988cb6">◆ </a></span>_file</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::string zypp::exception_detail::CodeLocation::_file</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="Exception_8h_source.html#l00054">54</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </div> </div> <a id="ae07614151a46fab3f7bc4163264ed605"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae07614151a46fab3f7bc4163264ed605">◆ </a></span>_func</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::string zypp::exception_detail::CodeLocation::_func</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="Exception_8h_source.html#l00055">55</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </div> </div> <a id="a8a7af7d11c150a735dbd133506afcc50"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8a7af7d11c150a735dbd133506afcc50">◆ </a></span>_line</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">unsigned zypp::exception_detail::CodeLocation::_line</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="Exception_8h_source.html#l00056">56</a> of file <a class="el" href="Exception_8h_source.html">Exception.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following files:<ul> <li>zypp/base/<a class="el" href="Exception_8h_source.html">Exception.h</a></li> <li>zypp/base/<a class="el" href="Exception_8cc_source.html">Exception.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="namespacezypp_1_1exception__detail.html">exception_detail</a></li><li class="navelem"><a class="el" href="structzypp_1_1exception__detail_1_1CodeLocation.html">CodeLocation</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>