Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > c87dfbd6f7f653536d7b07ed7038c9d8 > files > 4010

clanlib0.8-docs-0.8.1-6.mga1.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_Zip_Archive::save - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>CL_Zip_Archive::save</h1>
<p>  Saves zip archive.</p>
<pre>
	void save();

	void save(
		const std::string& filename);
</pre>
<p><b>Parameters:</b></p>
<dl>
<dt><i>filename</i></dt><dd>Filename of zip archive. Must not be used to save to the same as loaded from.</dd>
</dl>
<p><b>Detailed description:</b></p>  <p>If no filename parameter was passed, it will modify the zip
  archive loaded at construction time. It does this by creating a
  temporary file, saving the new archive, deletes the old one and
  renames the temp file to the original archive filename.</p>

  <p>If the archive was created instead of loaded, a filename must
  be specify a filename. Likewise, if saving to same archive as
  loaded from, a filename must not be specified. Doing so will
  cause the save operation to fail.</p>
<p><b>See also:</b></p>
<p><a href="CL_Zip_Archive.html">CL_Zip_Archive</a></p>


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->