Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 68c0c2ff89d8bf9051ff1b9773ed48e4 > files > 4554

libzypp-doc-17.9.0-1.1.mga7.noarch.rpm

<!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::filesystem::TmpFile 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&amp;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
   &#160;<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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classzypp_1_1filesystem_1_1TmpFile.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classzypp_1_1filesystem_1_1TmpFile-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">zypp::filesystem::TmpFile Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Provide a new empty temporary file and delete it when no longer needed.  
 <a href="classzypp_1_1filesystem_1_1TmpFile.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="TmpPath_8h_source.html">TmpPath.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for zypp::filesystem::TmpFile:</div>
<div class="dyncontent">
<div class="center"><img src="classzypp_1_1filesystem_1_1TmpFile__inherit__graph.png" border="0" usemap="#zypp_1_1filesystem_1_1TmpFile_inherit__map" alt="Inheritance graph"/></div>
<map name="zypp_1_1filesystem_1_1TmpFile_inherit__map" id="zypp_1_1filesystem_1_1TmpFile_inherit__map">
<area shape="rect"  title="Provide a new empty temporary file and delete it when no longer needed." alt="" coords="8,80,185,107"/>
<area shape="rect"  href="classzypp_1_1filesystem_1_1TmpPath.html" title="Automaticaly deletes files or directories when no longer needed." alt="" coords="5,5,188,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:a54f9a3cc40a432e451f4e166851f0fd2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html#a54f9a3cc40a432e451f4e166851f0fd2">TmpFile</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;inParentDir_r=<a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a475efb7dd1966b7b1e1bd498dfa5ef2d">defaultLocation</a>(), const std::string &amp;prefix_r=<a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html#aa038cf67140b2c2b4ee12421c91addee">defaultPrefix</a>())</td></tr>
<tr class="memdesc:a54f9a3cc40a432e451f4e166851f0fd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ctor.  <a href="#a54f9a3cc40a432e451f4e166851f0fd2">More...</a><br /></td></tr>
<tr class="separator:a54f9a3cc40a432e451f4e166851f0fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classzypp_1_1filesystem_1_1TmpPath')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html">zypp::filesystem::TmpPath</a></td></tr>
<tr class="memitem:a6cac57aeafeed5b6ea6ebbb5ea1938a3 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a6cac57aeafeed5b6ea6ebbb5ea1938a3">TmpPath</a> ()</td></tr>
<tr class="memdesc:a6cac57aeafeed5b6ea6ebbb5ea1938a3 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Ctor.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#a6cac57aeafeed5b6ea6ebbb5ea1938a3">More...</a><br /></td></tr>
<tr class="separator:a6cac57aeafeed5b6ea6ebbb5ea1938a3 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf01544ee0649704e21315ac6303e779 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#acf01544ee0649704e21315ac6303e779">TmpPath</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;tmpPath_r)</td></tr>
<tr class="memdesc:acf01544ee0649704e21315ac6303e779 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ctor.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#acf01544ee0649704e21315ac6303e779">More...</a><br /></td></tr>
<tr class="separator:acf01544ee0649704e21315ac6303e779 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e7a60d43712fba999f41f13b6f1406 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a60e7a60d43712fba999f41f13b6f1406">~TmpPath</a> ()</td></tr>
<tr class="memdesc:a60e7a60d43712fba999f41f13b6f1406 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dtor.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#a60e7a60d43712fba999f41f13b6f1406">More...</a><br /></td></tr>
<tr class="separator:a60e7a60d43712fba999f41f13b6f1406 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a299d8fcf7edf40929776ad2561183423 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a299d8fcf7edf40929776ad2561183423">operator bool</a> () const</td></tr>
<tr class="memdesc:a299d8fcf7edf40929776ad2561183423 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test whether the <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html" title="Pathname.">Pathname</a> is valid (i.e.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#a299d8fcf7edf40929776ad2561183423">More...</a><br /></td></tr>
<tr class="separator:a299d8fcf7edf40929776ad2561183423 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6891667fdbc2f2aa70a5f97c66422786 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a6891667fdbc2f2aa70a5f97c66422786">path</a> () const</td></tr>
<tr class="separator:a6891667fdbc2f2aa70a5f97c66422786 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b741ba0b7dd86428c4949cb5954143d inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a3b741ba0b7dd86428c4949cb5954143d">operator Pathname</a> () const</td></tr>
<tr class="memdesc:a3b741ba0b7dd86428c4949cb5954143d inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type conversion to <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html" title="Pathname.">Pathname</a>.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#a3b741ba0b7dd86428c4949cb5954143d">More...</a><br /></td></tr>
<tr class="separator:a3b741ba0b7dd86428c4949cb5954143d inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af64fe21abd1b1d54feb85b61d8cf4957 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#af64fe21abd1b1d54feb85b61d8cf4957">autoCleanup</a> () const</td></tr>
<tr class="memdesc:af64fe21abd1b1d54feb85b61d8cf4957 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether path is valid and deleted when the last reference drops.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#af64fe21abd1b1d54feb85b61d8cf4957">More...</a><br /></td></tr>
<tr class="separator:af64fe21abd1b1d54feb85b61d8cf4957 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9fff755978cf30dfb8f921b0076e536 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#af9fff755978cf30dfb8f921b0076e536">autoCleanup</a> (<a class="el" href="classbool.html">bool</a> yesno_r)</td></tr>
<tr class="memdesc:af9fff755978cf30dfb8f921b0076e536 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="mdescLeft">&#160;</td><td class="mdescRight">Turn <a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#af64fe21abd1b1d54feb85b61d8cf4957">autoCleanup</a> on/off if path is valid.  <a href="classzypp_1_1filesystem_1_1TmpPath.html#af9fff755978cf30dfb8f921b0076e536">More...</a><br /></td></tr>
<tr class="separator:af9fff755978cf30dfb8f921b0076e536 inherit pub_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</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:a8c556348853d60f1b4868548275cebe6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html">TmpFile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html#a8c556348853d60f1b4868548275cebe6">makeSibling</a> (const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;sibling_r)</td></tr>
<tr class="memdesc:a8c556348853d60f1b4868548275cebe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a new empty temporary directory as sibling.  <a href="#a8c556348853d60f1b4868548275cebe6">More...</a><br /></td></tr>
<tr class="separator:a8c556348853d60f1b4868548275cebe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95105ff24917ca4c06e0dadc0417618b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacezypp.html#a5fcd6472a3b41932c690d08b57443a1c">ManagedFile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html#a95105ff24917ca4c06e0dadc0417618b">asManagedFile</a> ()</td></tr>
<tr class="memdesc:a95105ff24917ca4c06e0dadc0417618b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a temporary file and convert it to a automatically cleaned up ManagedFile.  <a href="#a95105ff24917ca4c06e0dadc0417618b">More...</a><br /></td></tr>
<tr class="separator:a95105ff24917ca4c06e0dadc0417618b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa038cf67140b2c2b4ee12421c91addee"><td class="memItemLeft" align="right" valign="top">static const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html#aa038cf67140b2c2b4ee12421c91addee">defaultPrefix</a> ()</td></tr>
<tr class="separator:aa038cf67140b2c2b4ee12421c91addee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classzypp_1_1filesystem_1_1TmpPath"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classzypp_1_1filesystem_1_1TmpPath')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html">zypp::filesystem::TmpPath</a></td></tr>
<tr class="memitem:a475efb7dd1966b7b1e1bd498dfa5ef2d inherit pub_static_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a475efb7dd1966b7b1e1bd498dfa5ef2d">defaultLocation</a> ()</td></tr>
<tr class="separator:a475efb7dd1966b7b1e1bd498dfa5ef2d inherit pub_static_methods_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classzypp_1_1filesystem_1_1TmpPath"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classzypp_1_1filesystem_1_1TmpPath')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html">zypp::filesystem::TmpPath</a></td></tr>
<tr class="memitem:a4e201b7ff98a77cd0f33881ad367f989 inherit pro_attribs_classzypp_1_1filesystem_1_1TmpPath"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structzypp_1_1RW__pointer.html">RW_pointer</a>&lt; <a class="el" href="classzypp_1_1filesystem_1_1TmpPath_1_1Impl.html">Impl</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a4e201b7ff98a77cd0f33881ad367f989">_impl</a></td></tr>
<tr class="separator:a4e201b7ff98a77cd0f33881ad367f989 inherit pro_attribs_classzypp_1_1filesystem_1_1TmpPath"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provide a new empty temporary file and delete it when no longer needed. </p>
<p>The temporary file is per default created in '/var/tmp' and named 'TmpFile.XXXXXX', with XXXXXX replaced by a string which makes the name unique. Different location and file prefix may be passed to the ctor. <a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html" title="Provide a new empty temporary file and delete it when no longer needed.">TmpFile</a> is created with mode 0600.</p>
<p><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html" title="Provide a new empty temporary file and delete it when no longer needed.">TmpFile</a> provides the <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html" title="Pathname.">Pathname</a> of the temporary file, or an empty path in case of any error. </p>

<p class="definition">Definition at line <a class="el" href="TmpPath_8h_source.html#l00127">127</a> of file <a class="el" href="TmpPath_8h_source.html">TmpPath.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a54f9a3cc40a432e451f4e166851f0fd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54f9a3cc40a432e451f4e166851f0fd2">&#9670;&nbsp;</a></span>TmpFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">zypp::filesystem::TmpFile::TmpFile </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;&#160;</td>
          <td class="paramname"><em>inParentDir_r</em> = <code><a class="el" href="classzypp_1_1filesystem_1_1TmpPath.html#a475efb7dd1966b7b1e1bd498dfa5ef2d">defaultLocation</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>prefix_r</em> = <code><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html#aa038cf67140b2c2b4ee12421c91addee">defaultPrefix</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Ctor. </p>
<p>Takes a <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html" title="Pathname.">Pathname</a>. </p>

<p class="definition">Definition at line <a class="el" href="TmpPath_8cc_source.html#l00181">181</a> of file <a class="el" href="TmpPath_8cc_source.html">TmpPath.cc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8c556348853d60f1b4868548275cebe6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c556348853d60f1b4868548275cebe6">&#9670;&nbsp;</a></span>makeSibling()</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_1filesystem_1_1TmpFile.html">TmpFile</a> zypp::filesystem::TmpFile::makeSibling </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classzypp_1_1filesystem_1_1Pathname.html">Pathname</a> &amp;&#160;</td>
          <td class="paramname"><em>sibling_r</em></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>Provide a new empty temporary directory as sibling. </p>
<div class="fragment"><div class="line"><a class="code" href="classzypp_1_1filesystem_1_1TmpFile.html#a54f9a3cc40a432e451f4e166851f0fd2">TmpFile</a> s = <a class="code" href="classzypp_1_1filesystem_1_1TmpFile.html#a8c556348853d60f1b4868548275cebe6">makeSibling</a>( <span class="stringliteral">&quot;/var/lib/myfile&quot;</span> );</div><div class="line"><span class="comment">// returns: /var/lib/myfile.XXXXXX</span></div></div><!-- fragment --><p> If <code>sibling_r</code> exists, sibling is created using the same mode. </p>

<p class="definition">Definition at line <a class="el" href="TmpPath_8cc_source.html#l00218">218</a> of file <a class="el" href="TmpPath_8cc_source.html">TmpPath.cc</a>.</p>

</div>
</div>
<a id="a95105ff24917ca4c06e0dadc0417618b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95105ff24917ca4c06e0dadc0417618b">&#9670;&nbsp;</a></span>asManagedFile()</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="namespacezypp.html#a5fcd6472a3b41932c690d08b57443a1c">ManagedFile</a> zypp::filesystem::TmpFile::asManagedFile </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>Create a temporary file and convert it to a automatically cleaned up ManagedFile. </p>

<p class="definition">Definition at line <a class="el" href="TmpPath_8cc_source.html#l00230">230</a> of file <a class="el" href="TmpPath_8cc_source.html">TmpPath.cc</a>.</p>

</div>
</div>
<a id="aa038cf67140b2c2b4ee12421c91addee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa038cf67140b2c2b4ee12421c91addee">&#9670;&nbsp;</a></span>defaultPrefix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; zypp::filesystem::TmpFile::defaultPrefix </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">
<dl class="section return"><dt>Returns</dt><dd>The default prefix for temporary files (<a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html" title="Provide a new empty temporary file and delete it when no longer needed.">TmpFile</a>.) </dd></dl>

<p class="definition">Definition at line <a class="el" href="TmpPath_8cc_source.html#l00244">244</a> of file <a class="el" href="TmpPath_8cc_source.html">TmpPath.cc</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>zypp/<a class="el" href="TmpPath_8h_source.html">TmpPath.h</a></li>
<li>zypp/<a class="el" href="TmpPath_8cc_source.html">TmpPath.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_1filesystem.html">filesystem</a></li><li class="navelem"><a class="el" href="classzypp_1_1filesystem_1_1TmpFile.html">TmpFile</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>